View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ricardo Dinis Ricardo Dinis is offline
external usenet poster
 
Posts: 5
Default Count Unique Values from a Subset of a List

Hi,

If I use the array formula bellow to count the unique values of a list
it works fine.

{=SUM(1/COUNTIF(C8:C11,C8:C11))}

But what I really need is the sum of unique values, of each subset of
the list.

A B
1 dog 1
2 dog 1
3 dog 3
4 dog 2
5 cat 1
6 cat 2

For example if I have the table above, the result that I want is the
sum of 3 different of dog subset elements plus 2 from cat subset.

Anyone can help me?

Thanks,

Ricardo