How to deduct from a cell until 0 then deduct from next cell?

itzzjason

New Member
Joined
Dec 8, 2016
Messages
23
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi. I'm trying to create a spreadsheet to help keep track of bills.

I'd like the spreadsheet to calculate how much money I'll have left after paying bills per month.

Example:

[TABLE="class: grid, width: 1000, align: left"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]Checking account #1 balance[/TD]
[TD]$10000.00[/TD]
[TD][/TD]
[TD]Water bill[/TD]
[TD]$100.00[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]Minimum balance[/TD]
[TD]$1500.00[/TD]
[TD][/TD]
[TD]Gas bill[/TD]
[TD]$50.00[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]Usable Balance[/TD]
[TD]$8500.00[/TD]
[TD][/TD]
[TD]Electric bill[/TD]
[TD]$75.00[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]Remaining balance[/TD]
[TD][/TD]
[TD][/TD]
[TD]Car payment[/TD]
[TD]$300.00[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD]Checking account #2 balance[/TD]
[TD]$5000.00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD]Min. balance[/TD]
[TD]$100.00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD]Usable balance[/TD]
[TD]$4900.00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD]Remaining balance[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD]Overall remaining balance[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to deduct the bills' amount (column E) from the first bank account until it reaches $0.00 (cell B3) then deduct any remaining bills from the next bank account (cell B8).

What formulas can I input into cells B4 and B9?
 
Last edited:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
If column C is the amounts of the various bills.
In B4, =MAX(0,B3-SUM(C:C))

In B9 =B8-(SUM(C:C)-(B3-B4))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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