Count unique values

M

Mary

Hello,
What is the command for counting number of unique numbers in a column with
potentially duplicative numbers? Thank you so much.
 
R

Ron Coderre

Try this:

For a list in A1:A10

=SUMPRODUCT((A1:A10<>"")/COUNTIF(A1:A10,A1:A10&""))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 
M

Mary

YES - THANKS - I LOVE THIS SITE!!!

Ron Coderre said:
Try this:

For a list in A1:A10

=SUMPRODUCT((A1:A10<>"")/COUNTIF(A1:A10,A1:A10&""))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 
Top