Sub countm in filter

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

Guest

Hello,

there is a fuction in excel that can subtotal whatever we filter. Is there
any fuction in a " CountA" which can subcount what ever we filter in the
worksheet?. I tried to look up all the functions but none that can subcount
the data that we filter.

Appreciate any ideas on this.

Thanks,

Frank
 
Hi,

I may have misunderstood but if you simply want to add up the visible data
in a filtered list try:-

=SUBTOTAL(9,A1:A14)

If your un-filtered list is in A1-A14 put this in A15

Mike
 
Thank you Mike, I thought that it is true for only sum, in fact the ref.3 is
for countA.

Frank
 
If you want to do a COUNTA of just the visible rows then use this:

=SUBTOTAL(3,range)

There are other parameters that can be used instead of 3 to give you
different functions - check out Excel Help under SUBTOTAL for the
others.

Hope this helps.

Pete
 
Hi,
Hi,

You can use this function.

COUNTA

Counts the number of cells that are not empty and the values within the list
of arguments. Use COUNTA to count the number of cells that contain data in a
range or array.

Syntax

COUNTA(value1,value2,...)

Value1, value2, ... are 1 to 30 arguments representing the values you want
to count.

Remarks

A value is any type of information, including error values and empty text
(""). A value does not include empty cells.

If an argument is an array or reference, only values in that array or
reference are used. Empty cells and text values in the array or reference are
ignored.
If you do not need to count logical values, text, or error values, use the
COUNT function.

Challa Prabhu
 
Back
Top