LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 116
Default grand total subtotals without hiding details

I think I'm getting it now
I've entered =sum(range), so when I use =subtotal(9,range) it's not ignoring
the 'sum' formulas but it does ignore the 'subtotal' formulas and give me the
right answer when I use =subtotal(9,range) for all of the departments.
Thanks for all your help guys!
"Dave Peterson" wrote:

Did you insert rows that contained subtotals in the middle of your data?

If you did, then those formulas could have been
=subtotal(9,h2:h5)
=subtotal(9,h7:h19)
....
instead of:
=sum(h2:h5)
=sum(h7:h19)

=subtotal() will ignore other =subtotal() formulas.

Sherry wrote:

Hi Peo,

I tried the following formula =subtotal(9,h2:h690) and I still had to divid
by 2. If you can see the error I'm making, would you please point it out.
Thanks again!
Sherry (all values are in column H; column H also contains the subtotals by
department)

"Peo Sjoblom" wrote:

For example

D2:D200

if that is the range you want to sum


--
Regards,

Peo Sjoblom



"Sherry" wrote in message
...
Hi Peo,

What goes in the brackets?

"Peo Sjoblom" wrote:

There is a subtotal formula function as well

=SUBTOTAL(9,Range)


--
Regards,

Peo Sjoblom



"Sherry" wrote in message
...
Hello,
I have a worksheet with just under 700 lines. This worksheet consists
of
employees, their department and their payroll life insurance deductions
for a
specific pay date. I have grouped them by department and subtotaled
the
deductions. Is there a formula that tells excel I want a grand total
that
only adds the subtotals (because all values are in one column...I
suppose
I
could sum and divide by 2?) Actually that works!

Well, I'll leave the post here in case anyone else is trying to get a
solution!

Thanks for giving me a forum to talk out my problem!

Sherry







--

Dave Peterson

 
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
Help, add subtotals included in one column to get a grand total ceomummy Excel Discussion (Misc queries) 1 April 20th 07 01:11 AM
Removeing the Grand Total Line when subtotals are removed Melody Excel Discussion (Misc queries) 11 March 9th 07 06:09 PM
show only the subtotals and grand total in a pivot table Wanna Learn Excel Worksheet Functions 3 October 28th 06 03:34 AM
Adding Data Using Multiple Worksheets to Total into a Grand Total Lillie Excel Worksheet Functions 1 April 19th 05 08:34 PM
grand-total of subtotals ? Neither rhyme nor reason Excel Worksheet Functions 3 February 11th 05 07:25 PM


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