F
Fred Smith
I have a 10-column list I want to subtotal. For some columns I want a Sum,
for others I want a Max. In Help, it says:
"Excel calculates subtotal values with a summary function, such as Sum or
Average. You can display subtotals in a list with more than one type of
calculation at a time."
But how?
I set the summary function to Max, and click the fields I want, then change
it to Sum and click the remaining fields, but it does a Sum on all fields.
Excel just remembers the last summary function when I click OK.
Is there a way to use more than one summary function in the same Subtotal?
I'm developing a macro for this, so if there's a way to do it in VBA, that
would be fine.
for others I want a Max. In Help, it says:
"Excel calculates subtotal values with a summary function, such as Sum or
Average. You can display subtotals in a list with more than one type of
calculation at a time."
But how?
I set the summary function to Max, and click the fields I want, then change
it to Sum and click the remaining fields, but it does a Sum on all fields.
Excel just remembers the last summary function when I click OK.
Is there a way to use more than one summary function in the same Subtotal?
I'm developing a macro for this, so if there's a way to do it in VBA, that
would be fine.