How to count the number of unique entries in a filtered column


L

learnlearn52

Perhaps this may have been answered before. I used formulas from the
Discussion Groups but did not get the right answer. I have the following
filtered data (alphanumeric) exactly:

A100
A102
A104
A103
A108
A104
A102
A102
A103
A109

The total number of entries is 10 and the unique number of entries is 6.What
formula should be used to calculate the unique number of entries? Thanks in
advance
 
Ad

Advertisements

J

Jacob Skaria

Try this

=SUMPRODUCT((A1:A10<>"")/COUNTIF(A1:A10,A1:A10&""))

If this post helps click Yes
 
J

Jacob Skaria

Try this

=SUMPRODUCT((A1:A10<>"")/COUNTIF(A1:A10,A1:A10&""))

If this post helps click Yes
 
L

Lori

If your filtered list is in A2:A200 try with CTRL+SHIFT+ENTER:

=COUNT(1/FREQUENCY(IF(SUBTOTAL(3,OFFSET(A2,ROW(A2:A200)
-ROW(A2),)),MATCH(A2:A200,A2:A200,0)),ROW(A2:A200)-ROW(A2)))
 
L

Lori

If your filtered list is in A2:A200 try with CTRL+SHIFT+ENTER:

=COUNT(1/FREQUENCY(IF(SUBTOTAL(3,OFFSET(A2,ROW(A2:A200)
-ROW(A2),)),MATCH(A2:A200,A2:A200,0)),ROW(A2:A200)-ROW(A2)))
 
Ad

Advertisements

Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top