Rolling Formula to Calculate in a specific column

ahuang3433

New Member
Joined
Jan 24, 2017
Messages
39
I am trying to create a rolling formula to calculate net inventory levels. Here is an example of what I'm working with. How can I get column D to keep rolling based on the inventory available of a specific part?

PartDemandInventory AvailableNet Inventory
A
1000​
5000​
4000​
B
1000​
3000​
2000​
C
1000​
4000​
3000​
C
1000​
4000​
2000​
A
1000​
5000​
3000​
E
1000​
3000​
2000​
F
1000​
2000​
1000​
E
1000​
3000​
1000​
D
1000​
1000​
0​
A
1000​
5000​
2000​
B
1000​
3000​
1000​
A
1000​
5000​
1000​
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Assuming "Part" is in A1, try this in D2 and fill down

=C2-SUMIF(A$2:A2,A2,B$2:B2)

From your example it clear how you enter deductions from your inventory but not how you enter increases when new stock arrives.
 
Upvote 0

Forum statistics

Threads
1,214,942
Messages
6,122,366
Members
449,080
Latest member
Armadillos

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