Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I autosum a filtered column

Column D on my worksheet has an autosum function for rows 4 to 102. When I
apply a data filter to another column this removes approximately 50 rows but
the sum remains the same; is there anyway I can get it to just sum the data
that has been filtered?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How do I autosum a filtered column

Instead of having:

=SUM(D4:D102)

you should change this to:

=SUBTOTAL(9,D4:D102)

then it will reflect only the visible rows.

Hope this helps.

Pete

On Feb 18, 12:36*am, Mike Herron <Mike
wrote:
Column D on my worksheet has an autosum function for rows 4 to 102. When I
apply a data filter to another column this removes approximately 50 rows but
the sum remains the same; is there anyway I can get it to just sum the data
that has been filtered?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
autosum on a column volunteer Excel Discussion (Misc queries) 4 May 30th 08 02:09 PM
AutoSum on a filtered sheet T. Valko Excel Discussion (Misc queries) 2 April 24th 07 01:02 PM
Why does a column add incorrectly when usng autosum? cindy sue Excel Worksheet Functions 1 June 7th 06 01:21 AM
Macro code to autosum a dynamic length column SlowPoke Excel Discussion (Misc queries) 3 March 31st 06 11:48 PM
How do I Autosum a running column total in excel? JR5280 Excel Worksheet Functions 2 February 19th 05 01:59 AM


All times are GMT +1. The time now is 06:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"