G
Guest
I am trying to sho the count of unique elements in a filtered column
I can count the unique elements (text and number, excluding blanks) in the entire range using the following
=SUM(IF(FREQUENCY(IF(LEN($A$6:$A$10)>0,MATCH($A$6:$A$10,$A$6:$A$10,0),""),IF(LEN($A$6:$A$10)>0,MATCH($A$6:$A$10,$A$6:$A$10,0),""))>0,1)
I got this from
Microsoft Knowledge Base Article - 268001 Counting Unique Elements with Blank Cell
My problem is that I have an autofilter on the column and would ike to see the count for only the rows which show after the filter is applied.
I tried to use the subtotal function withoput any luck, although I'm not sure I tried the right thing
Any help is greatly appreciated
TIA
DOTjake
I can count the unique elements (text and number, excluding blanks) in the entire range using the following
=SUM(IF(FREQUENCY(IF(LEN($A$6:$A$10)>0,MATCH($A$6:$A$10,$A$6:$A$10,0),""),IF(LEN($A$6:$A$10)>0,MATCH($A$6:$A$10,$A$6:$A$10,0),""))>0,1)
I got this from
Microsoft Knowledge Base Article - 268001 Counting Unique Elements with Blank Cell
My problem is that I have an autofilter on the column and would ike to see the count for only the rows which show after the filter is applied.
I tried to use the subtotal function withoput any luck, although I'm not sure I tried the right thing
Any help is greatly appreciated
TIA
DOTjake