Pivot Table Calculated Item

ralph76

Board Regular
Joined
Nov 18, 2008
Messages
158
Good morning,

I have a pivot table calculation question. Below, to the left, is a sample of the underlying data, and to the right, a second image of the pivot table. Currently, the Variance column is calculated outside of the pivot table, so when I filter the table, the formatting in the variance column shows even where there is no data. So, I would like to subtract the Excel column from the the NetSuite column using a pivot table calculated item. The problem I'm having when trying to enter the calculated item formula is that the Source field contains both the Excel and the NetSuite variable. Thus, I am unable to select them individually for the calculated items, but I need them as the pivot table comparator to yield the respective Excel and NetSuite counts.

Any thoughts would be greatly appreciated. Thank you.

Data: Pivot Table Output:
1584455078970.png
1584455132222.png
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Watch MrExcel Video

Forum statistics

Threads
1,130,029
Messages
5,639,623
Members
417,101
Latest member
amoverton2

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