Pivot Table Calculated Field Error

michaelblease

New Member
Joined
Jan 24, 2010
Messages
1
I have a pivot table and one of the values I changed the value field setting to "AVERAGE" but the calculated field is calculating based off of sum. How can I get the calculated field to calculate off of the average?

The Surplus Shortage field is my calculated field where I am taking Inventory less Job Lot. As you can see the "SUM" is 12 but that is because we have this sku listed 3 times in the excel file that is feeding the pivot.

If I change the "SUM OF JOB LOT" to "AVERAGE OF JOB LOT" the figure will be 4 but my calculated field "Surplus/Shortage" will remain as -4 rather than changing to +4.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Avg Pos[/TD]
[TD]Sum of Job Lot[/TD]
[TD]Inventory[/TD]
[TD]Suprlus/Shortage[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]0[/TD]
[TD]12[/TD]
[TD]8[/TD]
[TD]-4[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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