Counting a filtered range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a formula that counts the total number of cells in a
filtered list. In my table one of the colunms lists gender. I need a formula
so that when I filter on female, it gives me the total number of females in
the list. Can anyone help?
 
=SUBTOTAL(9,A1:A100)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Sorry, should have been

=SUBTOTAL(2,A1:A100)

9 is the Sum not Count

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Great, thank you.

Bob Phillips said:
Sorry, should have been

=SUBTOTAL(2,A1:A100)

9 is the Sum not Count

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
You might need to make it:

=SUBTOTAL(3,A1:A100)

3 being equivalent to COUNTA (for the word "Female").

Hope this helps.

Pete
 
Back
Top