ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum only filtered selection (https://www.excelbanter.com/excel-discussion-misc-queries/35083-sum-only-filtered-selection.html)

pkunAAC

Sum only filtered selection
 
I am dealing with almost 4,000 rows of data. I am auto filtering them and I
would like to be able to sum up only the filtered selection. I can do it
manually each time it is filtered, but I was wondering if there was a way to
do this automatically.

Anne Troy

Subtotals doesn't work for you?
http://www.officearticles.com/excel/...soft_excel.htm

*******************
~Anne Troy

www.OfficeArticles.com


"pkunAAC" wrote in message
...
I am dealing with almost 4,000 rows of data. I am auto filtering them and

I
would like to be able to sum up only the filtered selection. I can do it
manually each time it is filtered, but I was wondering if there was a way

to
do this automatically.




dominicb


Good afternoon kpunAAC

Try this:

=SUBTOTAL(9,A1:A4000)

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=386785


CyberTaz

You may also want to take a look at the DSUM function. It would allow instant
updating by changing criteria without having to AutoFilter the data at all.

HTH |:)

"pkunAAC" wrote:

I am dealing with almost 4,000 rows of data. I am auto filtering them and I
would like to be able to sum up only the filtered selection. I can do it
manually each time it is filtered, but I was wondering if there was a way to
do this automatically.



All times are GMT +1. The time now is 08:43 PM.

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