Pivot Tables Calculate Field - Return Total

fsuguy92

New Member
Joined
Aug 27, 2015
Messages
34
Hey guys, hoping you can help me. I'm working on some reporting that is based off a pivot table and am trying to use a CTG (contribution to growth) metric. The formula for this metric is (TY-LY Sales)/LY Sales. My pivot table is organized by Team Name, League Name, and then Sales.

The problem I'm running into is that the bottom portion of the formula needs to be based on the full league sales. Is there a formula I can use that would ignore the team sales portion and just give me the total for the entire league? So for example...

Say I filter to NFL, and I have TY and LY sales for all teams going all the way down the pivot table. I want to see TY and LY sales for each team and then be able to return next to the team sales columns, the total sales for NFL so that I can use this in a calculated field.

I know this is complicated and hard to explain but let me know if you have any questions!
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Watch MrExcel Video

Forum statistics

Threads
1,127,612
Messages
5,625,839
Members
416,138
Latest member
Pizzaman22

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
Top