View Single Post
  #1   Report Post  
annie
 
Posts: n/a
Default Count Unique Values

I want to count the unique values, but no need to specify a certain
value.Please see the columns below:
c1 c2
a a
b b
a a
a a
a a
b c

There are 2 unique values in this c1 (a,b),so i want the result to be 2.In
c2,the result should be 3,because there are 3 unique values(a,b,c). I need a
formula which can count how many unique values appear in a column. Since I
don't know which value will appear in the column, I can not specify the exact
value neither use the COUNTIF formula.
Thanks for your help:)