Countif within a filtered sheet

G

George Gee

Hi

Range F3:F545 contains 0 or 1

Formula in F2 =COUNTIF(F3:F545,">0")
this counts the number of 1's and works fine.

Is it possible to count the number of 1's in a filtered list.
So when filtered on the 0's, then F2 should display 0

Thanks

George Gee
 
G

George Gee

Thanks for that, but that just counts the number of rows
that contain 0 or 1, when the list is unfiltered or filtered.

I want to display in F2 the number of 1's when filtered on 0,
which should of course be 0

George Gee


try subtotal function

=SUBTOTAL(2,F3:F545)
 
G

George Gee

OK, this works: =SUBTOTAL(9,F3:F545)

Thanks
George Gee


try subtotal function

=SUBTOTAL(2,F3:F545)
 

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

Top