ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Summing a Field while Using an Autofilter (https://www.excelbanter.com/excel-programming/362321-summing-field-while-using-autofilter.html)

Lost and Looking for Help

Summing a Field while Using an Autofilter
 
I have a large spread sheet that i must sort. I currently am using an
autofilter to sort the numbers, then copying the numbers to another sheet and
then summing those numbers. I am doing this because when using the
autofilter if you try and sum at the bottom of a column then you still sum
all the values that are hidden. Is there a way to just sum the visible
numbers when using the autofilter so that i can avoid having to copy and
paste to another sheet. This is really slowing down my program.

Tom Ogilvy

Summing a Field while Using an Autofilter
 
use
=Subtotal(9,B2:B50)

Subtotal only sums the visible rows from a filter.

--
Regards,
Tom Ogilvy


"Lost and Looking for Help" wrote:

I have a large spread sheet that i must sort. I currently am using an
autofilter to sort the numbers, then copying the numbers to another sheet and
then summing those numbers. I am doing this because when using the
autofilter if you try and sum at the bottom of a column then you still sum
all the values that are hidden. Is there a way to just sum the visible
numbers when using the autofilter so that i can avoid having to copy and
paste to another sheet. This is really slowing down my program.



All times are GMT +1. The time now is 05:54 PM.

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