Pivot Table - Substraction of fields for an inventory management

akim

New Member
Joined
Jul 14, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi all !

I am currently working on a Pivot table to manage my inventory. See below a sample of the pivot table

For each IMP, I want to automatically reflect the balance between the value in "IN" and the sum of values in "OUT".
For example for D77 I want to reflect : 4000 - (400 + 300 + 175 + 1000 + 400 + 500 + 50 + 225 + 150 + 475 + 325) = 0

I have tried to set up a calculated field using (IN) - (OUT) but it reflects the results on every row which is not what I am looking for.

PS : I highlighted where I would like it to be reflected, and wrote manually the values to give you a better idea of what I want to get.

Thank you in advance for anyone that will be able to help me out on this !!

Akim

Capture.PNG
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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