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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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