Subtotal in Pivot calculated field

b0unce

Board Regular
Joined
Apr 22, 2009
Messages
75
Hello,

Is there a way to display Grand total in calculated field in PIVOT in columns (but display grand total of rows)? This grand total should show TOTAL value of all visible (filtered) values. I will then use this calculated field in PIVOT chart to display total planned sales of certain filtered category.
Example:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Food category[/TD]
[TD]Sales plan[/TD]
[TD]Sales fact[/TD]
[TD]Grand total plan[/TD]
[/TR]
[TR]
[TD]Brand 1[/TD]
[TD]100[/TD]
[TD]120[/TD]
[TD]450[/TD]
[/TR]
[TR]
[TD]Brand 2[/TD]
[TD]200[/TD]
[TD]150[/TD]
[TD]450[/TD]
[/TR]
[TR]
[TD]Brand 3[/TD]
[TD]150[/TD]
[TD]200[/TD]
[TD]450[/TD]
[/TR]
[TR]
[TD]Food category Total[/TD]
[TD]450[/TD]
[TD]470[/TD]
[TD]450[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD]450[/TD]
[TD]470[/TD]
[TD]450[/TD]
[/TR]
</tbody>[/TABLE]

Thank you!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,224,737
Messages
6,180,643
Members
452,992
Latest member
TokugawaIesuma

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