Formula help - Reducing from quantity above

Johnr1

New Member
Joined
Dec 16, 2014
Messages
26
Hi i am looking for some help on a formula i am trying to write. i am looking to get the remaining quantity in a cell. this is from a workload from our customer.
in a sheet we would have the following. a part number, order quantity ( can have multiple lines for different ship dates) date, total quantity on hand.
i am trying to find a formula that will help me take the order quantity from the on hand stock, (simple if only one line) but if the same part number appears above i would like to reduce the on hand quantity in line with the quantity above. i have attached a screenshot to show what i am trying to say.
Thanks in advance
 

Attachments

  • Mrexcel.PNG
    Mrexcel.PNG
    17.3 KB · Views: 3

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
How about
+Fluff 1.xlsm
ABCDE
1
2123410020001900
3123520020001800
4123615030002850
5123715070006850
6123410020001800
7123420020001600
8123510020001700
9123625030002600
Result
Cell Formulas
RangeFormula
E2:E9E2=D2-SUMIFS(B$2:B2,A$2:A2,A2)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
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