Formula that allows overpayment to flow to a different cell

emma1204

New Member
Joined
Jan 25, 2019
Messages
1
I am needing help developing a formula that allows the overflow from one to apply to another cell. Basically someone is paying multiple monthly debts but the second debt can't be satisfied until the first one is and the third one can't be satisfied until the second one is. So this is a monthly payment and the likelihood they would EVER exceed the total of all the debts is slim to none so if they did I would just apply that amount to the total paid for the following month. Thank you for your help.

A
B
C
D
1OwesPaid
2Amount Paidn/a1000
31st debt800=C2-B3 BUT I need this to display a number that doesn't go past 800. So if they paid 1000 it will show 800
42nd debt500=B4-whatever is leftover from the above cell and the number doesn't go past 500. So if they paid enough to cover all the debt in B3 AND all the debt in B4 then it would show 500
53rd debt100=B5-whatever is leftover from the above cell and the number doesn't go past 100.

<tbody>
</tbody>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi

Hope that I am understanding your problem correctly. Here is a suggestions:

Formula for C3: =IF(C3>=B4, B4, C3)
Formula for C4: =IF(C3-C4>B5, B5, C3-C4)
Formula for C5: =IF(C3-C4-C5>0, C3-C4-C5, 0)

Hope that helps

Brian
 
Upvote 0
Maybe


Excel 2013/2016
ABC
1OwesPaid
2Amount Paidn/a1350
31st debt800800
42nd debt500500
53rd debt10050
Sheet3
Cell Formulas
RangeFormula
C3=MIN(B3,C2)
C4=MIN(B4,$C$2-SUM($C$3:C3))
C5=MIN(B5,$C$2-SUM($C$3:C4))
 
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

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