ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting a filtered range (https://www.excelbanter.com/excel-discussion-misc-queries/149702-counting-filtered-range.html)

jenny

Counting a filtered range
 
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?

Bob Phillips

Counting a filtered range
 
=SUBTOTAL(9,A1:A100)

--
HTH

Bob

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

"Jenny" wrote in message
...
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?




Bob Phillips

Counting a filtered range
 
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)

"Jenny" wrote in message
...
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?




jenny

Counting a filtered range
 
Great, thank you.

"Bob Phillips" wrote:

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)

"Jenny" wrote in message
...
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?





Pete_UK

Counting a filtered range
 
You might need to make it:

=SUBTOTAL(3,A1:A100)

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

Hope this helps.

Pete

On Jul 11, 12:56 am, "Bob Phillips" wrote:
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)

"Jenny" wrote in message

...



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?- Hide quoted text -


- Show quoted text -





All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com