# 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

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)))

L

#### learnlearn52

Thanks Lori. You are awesome!!! Keep up the good work.

L

#### learnlearn52

Thanks Lori. You are awesome!!! Keep up the good work.

L

#### learnlearn52

Jacob, thanks for your help. Kepp up the good work.