View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Count unique entries...

Try this:

=SUMPRODUCT(--(A2:A8<""),--(1/COUNTIF(A2:A8,A2:A8)))


"ChuckF" wrote:

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!