Function to count unique items in list

G

Guest

I am using Office 2003 on Windows XP.

Is there a built-in function in MS-Excel that gives you a count of the
unique items in a list?

If so, what is it called?

If not, how can I create a user defined function to do this?

Thanks much in advance.
 
G

Guest

Try this:

For a list in A1:A10

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

Adjust range references to suit your situation.

Does that help?

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

XL2002, WinXP-Pro
 

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