View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RagDyeR RagDyeR is offline
external usenet poster
 
Posts: 3,572
Default Count unique entries...

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

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

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Teethless mama" wrote in message
...
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!