Grand subtotal by pivot item 2

pivotlover

New Member
Joined
Jun 26, 2008
Messages
4
I have a pivot table like the following
----------------Qtr 1 ------- Qtr2 ------- Total
------------- CA AZ TX --- CA AZ TX ----
Sales -------- 10 15 11 --- 5 10 9 ----- 50

I wonder if Pivot table can be set up to total by State (without changing the order of pivot items. ie. keep Qtr as the 1st pivot item, and state as the second), like

----------------Qtr 1 ------- Qtr2 ------- Total
------------- CA AZ TX --- CA AZ TX ---- CA AZ TX
Sales -------- 10 15 11 --- 5 10 9 -----15 25 10

I can't use the Calculate Field item due to the large dataset size.

Please help!!!
 
Last edited:

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Why don't you just have another Pivottable to total by state.
 
Upvote 0
Actually, I think if you just changed the field settings for state to have a Custom subtotal of Sum, it will do exactly what you want.
 
Upvote 0
Glenn, Thanks for taking the time to reply to my question.
Changing the subtotal to Custom/Sum actually doesn't give me total for Q1+Q2 by state.

I guess the pivot table can't do what I want.

Thanks anyway.
 
Upvote 0
Glenn, Thanks for taking the time to reply to my question.
Changing the subtotal to Custom/Sum actually doesn't give me total for Q1+Q2 by state.

I guess the pivot table can't do what I want.

Thanks anyway.

It works for me on the test data that I knocked up. What steps did you take to try to alter the subtotal setting exactly?
 
Upvote 0
I double clicked on the 'State' column header and, in the pivot table field window that pops up, selected Custom and Sum. That gave me two columns (one for data, another - exact same number - for the total) for each state WITHIN A QUARTER.

Am I doing it wrong?

Thanks for your help.
 
Upvote 0
Without seeing your source data, and the actual pivottable I can't guess what you are doing wrong. It works for me ... I must have just the right data layout for the pivottable to work that way ( maybe?!?! ).
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top