Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Function to SUM only Subtotals

Does anyone have ideas that would SUM only the subtotal amounts in a
worksheet?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Function to SUM only Subtotals

I don't.

But =subtotal() that points at the whole range will ignore the =subtotal() cells
and could give you what you want.

nejohnso76 wrote:

Does anyone have ideas that would SUM only the subtotal amounts in a
worksheet?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Function to SUM only Subtotals

IF you have SUBTOTALs applied automatically, simply use

=SUM(A:A)/2

if you aren't showing the Grandtotal, and use

=SUM(A:A)/3 if you are.

OR, you can use

=SUBTOTAL(9,A:A)

which will sum everything except values in SUBTOTAL formulas...

HTH,
Bernie
MS Excel MVP


"nejohnso76" wrote in message
ups.com...
Does anyone have ideas that would SUM only the subtotal amounts in a
worksheet?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default Function to SUM only Subtotals

You may want to first update sum formulas to subtotal formulas by
replacing "=sum(" with "=subtotal(9," in the column. Then you could
use:

=SUM(9,A:A)-SUBTOTAL(A:A)

to sum just the subtotal formulas.


nejohnso76 wrote:

Does anyone have ideas that would SUM only the subtotal amounts in a
worksheet?


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
Fold / unfold without subtotals function Peter Adema Excel Worksheet Functions 2 January 19th 06 03:37 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


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