ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Totaling Subtotals (https://www.excelbanter.com/excel-discussion-misc-queries/189467-totaling-subtotals.html)

Craig

Totaling Subtotals
 
Hello. I'm using Excel 2003.

I'd like to total the subtotals that Excel calc'd for me using the subtotals
function. I realize that Excel places a grand total at the bottom of the
data range. However, I have one field that is using a "Max" calculation ie,
"=subtotal(4, A1:A5000)"

I want to sum all of these "Max" calculations. However, when you use the
"=subtotal(9, A1:A5000)" formula, it doesn't sum all of the subtotal max
calcs - it sums the data only. So, this WON'T WORK.

Any suggestions?

Thanks.
--
Craig

Jim Cone[_2_]

Totaling Subtotals
 
Craig,

=Sum(A1:A5000) - Subtotal(9, A1:A5000)
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Craig"
wrote in message
Hello. I'm using Excel 2003.
I'd like to total the subtotals that Excel calc'd for me using the subtotals
function. I realize that Excel places a grand total at the bottom of the
data range. However, I have one field that is using a "Max" calculation ie,
"=subtotal(4, A1:A5000)"
I want to sum all of these "Max" calculations. However, when you use the
"=subtotal(9, A1:A5000)" formula, it doesn't sum all of the subtotal max
calcs - it sums the data only. So, this WON'T WORK.
Any suggestions?
Thanks.
--
Craig

Craig

Totaling Subtotals
 
That's brilliant...and so simple.

Thanks Jim!
--
Craig


"Jim Cone" wrote:

Craig,

=Sum(A1:A5000) - Subtotal(9, A1:A5000)
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Craig"
wrote in message
Hello. I'm using Excel 2003.
I'd like to total the subtotals that Excel calc'd for me using the subtotals
function. I realize that Excel places a grand total at the bottom of the
data range. However, I have one field that is using a "Max" calculation ie,
"=subtotal(4, A1:A5000)"
I want to sum all of these "Max" calculations. However, when you use the
"=subtotal(9, A1:A5000)" formula, it doesn't sum all of the subtotal max
calcs - it sums the data only. So, this WON'T WORK.
Any suggestions?
Thanks.
--
Craig



All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com