Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
spartikus411
 
Posts: n/a
Default Adding only the filtered results


i have tons of info with about 10 columns, when i use the autofilter, i
want to add the values in a column but only the filtered ones. how can
i do this?
thank you in advance


--
spartikus411
------------------------------------------------------------------------
spartikus411's Profile: http://www.excelforum.com/member.php...o&userid=34933
View this thread: http://www.excelforum.com/showthread...hreadid=547036

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Adding only the filtered results


spartikus411 wrote:
i have tons of info with about 10 columns, when i use the autofilter, i
want to add the values in a column but only the filtered ones. how can
i do this?
thank you in advance


--
spartikus411


Instead of using =SUM(range) you should use =SUBTOTAL(9,range). With
this, only the displayed values are totalled. I would suggest that you
put these formulae on the top row by inserting a new row 1, so that
they are always visible when you apply the filter (set Window | Freeze
Panes), and this means you don't have to keep scrolling to the bottom.

If you already have =SUM formulae, then you can change them over by
highlighting them and doing Find and Replace (CTRL-H):

Find What: SUM(
Replace With: SUBTOTAL(9,

then click Replace All. If they are on the bottom row, you can do a cut
and paste to put them on the top row.

Hope this helps.

Pete

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
Way to display filtered results from more than one autofilter per GS Excel Worksheet Functions 1 May 5th 06 12:01 AM
save filtered results bookworm Excel Discussion (Misc queries) 5 March 9th 06 09:29 PM
abdualmohsn almedrahe abdualmohsn ahmad Excel Discussion (Misc queries) 1 November 19th 05 06:32 PM
Filtered results and printing glassjo New Users to Excel 1 September 16th 05 06:30 PM
Graph based on Filtered results Steve Excel Discussion (Misc queries) 0 March 30th 05 04:59 PM


All times are GMT +1. The time now is 10:56 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"