count unique entries

D

driller2

helllo again,

i a have a "Y" column of date entry.

Most of dates are repeated, some are entered once.

I need to count only the number of dates (excldg repetitions).

example
15-Sep-09
22-Sep-09
20-Oct-09
20-Oct-09
20-Oct-09
22-Oct-09

From above 6 dates; the unique count should be 4.

thanks
 
J

Jacob Skaria

Try the below

=SUMPRODUCT((Y1:Y100<>"")/COUNTIF(Y1:Y100,Y1:Y100&""))

If cell Y1 is header then adjust the range as Y2:Y100

If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top