summing filtered values


Posted by siti on June 07, 2001 4:46 AM


I had an auto filter on a range of values. Trouble is when i summed a column it seemed to sum up all of the values instead of the filtered values.

Posted by Sean on June 07, 2001 5:03 AM

===============
Use

=subtotal(9,range)

instead on Sum...

The 9 above is the function No. for sum, you can also get averages/counts etc to get more help see excel help on this function.

Hope it helps
Sean

===============

Posted by George Clements on June 07, 2001 5:05 AM


Try using a subtotal command rather than a sum command:

e.g.

instead of say =sum(A1:A10) use =subtotal(9,A1:A10)

This will only add up the visible cells



Posted by Tx guys ....:) on June 07, 2001 8:32 AM