G
Guest
How can I get a count of rows, including blanks, showing after a filter is applied. I can do it with a macro but would prefer a formula
Thanks
DOTjake
Thanks
DOTjake
applied. I can do it with a macro but would prefer a formula.DOTjake said:How can I get a count of rows, including blanks, showing after a filter is
Aladin Akyurek said:Let A2:F100 be the area (including the labels) where you apply AutoFilter.
=SUBTOTAL(3,A3:A100)
or
=IF(COUNTA(A3:A100)<>SUBTOTAL(3,A3:A100),SUBTOTAL(3,A3:A100),"")
is
applied. I can do it with a macro but would prefer a formula.
numbers or text. I want to count all rows which are displayed after aDOTjake said:Counting blanks means that some of the rows may have blanks in them, or
=COUNTA($A$6:$A$10)+COUNTBLANK($A$6:$A$10) to account for the blanksFor my total rows count I have to use