Count unique entries...

C

ChuckF

Could anyone please help me with a formula that would count how many
unique entries are in a given range of cells. All I need to know is
how many different entries there are. (Not including empty cells)

So if I have A2:A20,

A2 Hello
A3 Goodbye
A4 Hello
A5 Cya
A6 L8R
A7 Hello
A8 Goodbye

and so on and so on...I want a formula to tell me that there are 4
different entries.

Any help would be great!
 
R

Ragdyer

But if the list might contain blank cells, you'd need something like this:

=SUMPRODUCT((A2:A8<>"")/COUNTIF(A2:A8,A2:A8&""))
 

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