Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a column full of datetime values in a Google Spreadsheet.

I want to get a count of how many unique days there are. As in 8pm and 7pm today would count as 1. Tomorrow at 9pm, 3pm and 4pm would also count as 1.

share|improve this question

migrated from stackoverflow.com May 28 '12 at 6:05

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Assuming your dates are in A1:A30, the following array formula worked for me:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.