View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default Count Unique Entries

You want the count of unique items for each column?

=SUM(IF(A1:A6<"",1/COUNTIF(A1:A6,A1:A6)))

confirmed with Control+Shift+Enter.

Copy across to other columns.

"SouthCarolina" wrote:

I am trying to count unique entries across a set of colums. For example,
A C
3 4
2 4
4 7
2 1
1 0

I want the result to be 5 as the number of unique entries. The entries are
not in consecutives column.

Thanks