#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 349
Default Sum a filtered range

Can anybody help me with the calc to sum a filtered range?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Sum a filtered range

Hi Peter

=SUBTOTAL(9,A3:A1000)
I usually like to put such values at the top of my column, so assuming there
was a header in row 1 and data from row 2 downward, I would Insert a new row
at row 1 and put the above formula in cell A1
Select cell A3WindowsFreeze Panes and your header and Subtotal will always
be visible.

The above formula works with all versions of Excel and totals the values of
cells that are still visible after an Autofilter has been applied
From XL2003 onward, the facility to also ignore Manually hidden rows was
also introduced, you just use 109 in place of 9
=SUBTOTAL(109,A3:A1000)

Take a look at Help on Subtotal, and you will see what the other parameters
1 through 8 also provide.
--
Regards
Roger Govier

"Peter" wrote in message
...
Can anybody help me with the calc to sum a filtered range?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 349
Default Sum a filtered range

Hi Roger,

Thanks for your help... works great - I'm a happy Excel player again!

Regards, Peter

"Roger Govier" wrote:

Hi Peter

=SUBTOTAL(9,A3:A1000)
I usually like to put such values at the top of my column, so assuming there
was a header in row 1 and data from row 2 downward, I would Insert a new row
at row 1 and put the above formula in cell A1
Select cell A3WindowsFreeze Panes and your header and Subtotal will always
be visible.

The above formula works with all versions of Excel and totals the values of
cells that are still visible after an Autofilter has been applied
From XL2003 onward, the facility to also ignore Manually hidden rows was
also introduced, you just use 109 in place of 9
=SUBTOTAL(109,A3:A1000)

Take a look at Help on Subtotal, and you will see what the other parameters
1 through 8 also provide.
--
Regards
Roger Govier

"Peter" wrote in message
...
Can anybody help me with the calc to sum a filtered range?



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
copy only filtered range. Miri Excel Discussion (Misc queries) 1 August 19th 07 01:41 PM
Counting a filtered range Jenny Excel Discussion (Misc queries) 4 July 11th 07 01:29 AM
How to copy a filtered range ? gaftalik Excel Discussion (Misc queries) 2 November 25th 05 04:56 PM
Counting within a filtered range Jeff Excel Worksheet Functions 2 June 13th 05 03:33 AM
paste over a filtered range freddie2711 Excel Discussion (Misc queries) 8 April 27th 05 01:20 PM


All times are GMT +1. The time now is 09:10 PM.

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

About Us

"It's about Microsoft Excel"