Balance Remaining Formula

tcorcoran15

New Member
Joined
Feb 16, 2017
Messages
22
Hello All,

I am trying to create a formula to reduce sales from a specific purchase until that full purchase amount is then sold. I then want the formula to look at the next purchase and start to reduce that amount etc.

The sheet is similar to as follows:

On one tab ('Purchases') I have all the transactions pre-purchased like the below:

AB
1AmountBalance
2500,000(Cell with formula)
3250,000(Cell with formula)

<tbody>
</tbody>


On another tab ('Product Sold') I have a list of all the sales against the purchases.

AB
1ReferenceAmount
2Alan380,000
3Jack120,000
4Tom180,000

<tbody>
</tbody>

As there has been 680,000 sold I would like cell B2 on the ('Purchases') tab to read '0' and cell B3 to read '70,000'.

Any help is massively appreciated :)
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
will this work for you?


Excel 2013/2016
ABCDE
1AmountBalanceReferenceAmount
2500,0000Alan380,000
3250,00070,000Jack120,000
4Tom180,000
Sheet2
Cell Formulas
RangeFormula
B2=MAX(0,SUM($A$1:A2)-SUM(E:E))
 
Upvote 0

Forum statistics

Threads
1,216,172
Messages
6,129,291
Members
449,498
Latest member
Lee_ray

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