Auto Calculate Amount Remaining

Capsaicin Burn

New Member
Joined
Jan 26, 2018
Messages
38
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Debt
[/TD]
[TD]Payment
[/TD]
[TD]Due
[/TD]
[TD]Jun
[/TD]
[TD]Jul
[/TD]
[TD]Aug
[/TD]
[TD]Sep
[/TD]
[TD]Oct
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Loan
[/TD]
[TD]$75
[/TD]
[TD]1st
[/TD]
[TD="align: center"]Y
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]CC1
[/TD]
[TD]$25
[/TD]
[TD]4th
[/TD]
[TD="align: center"]Y
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]CC2
[/TD]
[TD]$25
[/TD]
[TD]10th
[/TD]
[TD="align: center"]Y
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]CC3
[/TD]
[TD]$30
[/TD]
[TD]15th
[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]Internet
[/TD]
[TD]$75
[/TD]
[TD]20th
[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Cell
[/TD]
[TD]$100
[/TD]
[TD]21st
[/TD]
[TD="align: center"]Y
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]Ins
[/TD]
[TD]$100
[/TD]
[TD]24th
[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]Car
[/TD]
[TD]$350
[/TD]
[TD]28th
[/TD]
[TD="align: center"]Y
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]Total
[/TD]
[TD]$625
[/TD]
[TD]Remaining
[/TD]
[TD="align: center"]$205
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


















Columns A,B and C never change

My dilemma is making row 10 auto calculate and populate what is still due each month.

I simply mark each debt with a Y to indicate "Yes it has been paid". A blank cell indicates it has NOT been paid.

Currently I just add it up manually after each payment is made. I would like it to figure out, and update, the amount remaining as I make payments. How to make it calculate automatically has baffled me to date.

Any Help would be greatly appreciated!

Jim
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
when I totaled the B column, I got $780. ??

D10:
Code:
=SUMPRODUCT(("Y"<>$D$2:D$9)*$B$2:$B$9)

E10:
Code:
=D10-SUMPRODUCT((E2:E9="Y")*$B$2:$B$9)

And fill E column across.
 
Last edited:
Upvote 0
Thanks kweaver. Your calculation is correct. Those numbers are fictitious and I clearly missed something in my calculation in this example.
 
Last edited:
Upvote 0
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Debt[/TD]
[TD]Payment[/TD]
[TD]Due[/TD]
[TD]Jun[/TD]
[TD]Jul[/TD]
[TD]Aug[/TD]
[TD]Sep[/TD]
[TD]Oct[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Loan[/TD]
[TD]$75[/TD]
[TD]1st[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]CC1[/TD]
[TD]$25[/TD]
[TD]4th[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]CC2[/TD]
[TD]$25[/TD]
[TD]10th[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]CC3[/TD]
[TD]$30[/TD]
[TD]15th[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Internet[/TD]
[TD]$75[/TD]
[TD]20th[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Cell[/TD]
[TD]$100[/TD]
[TD]21st[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Ins[/TD]
[TD]$100[/TD]
[TD]24th[/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Car[/TD]
[TD]$350[/TD]
[TD]28th[/TD]
[TD="align: center"]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Total[/TD]
[TD]$625[/TD]
[TD]Remaining[/TD]
[TD="align: center"]$205[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


















Columns A,B and C never change

My dilemma is making row 10 auto calculate and populate what is still due each month.

I simply mark each debt with a Y to indicate "Yes it has been paid". A blank cell indicates it has NOT been paid.

Currently I just add it up manually after each payment is made. I would like it to figure out, and update, the amount remaining as I make payments. How to make it calculate automatically has baffled me to date.

Any Help would be greatly appreciated!

Jim

=SUMIF(D:D,"",B:B)

Make sure your total in column B is accurate
 
Upvote 0
[TABLE="width: 648"]
<colgroup><col span="8"></colgroup><tbody>[TR]
[TD]Debt[/TD]
[TD]Payment[/TD]
[TD]Due[/TD]
[TD]Jun[/TD]
[TD]Jul[/TD]
[TD]Aug[/TD]
[TD]Sep[/TD]
[TD]Oct[/TD]
[/TR]
[TR]
[TD]Loan[/TD]
[TD="align: right"]$75[/TD]
[TD]1st[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]CC1[/TD]
[TD="align: right"]$25[/TD]
[TD]4th[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]CC2[/TD]
[TD="align: right"]$25[/TD]
[TD]10th[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]CC3[/TD]
[TD="align: right"]$30[/TD]
[TD]15th[/TD]
[TD] [/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Internet[/TD]
[TD="align: right"]$75[/TD]
[TD]20th[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Cell[/TD]
[TD="align: right"]$100[/TD]
[TD]21st[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Ins[/TD]
[TD="align: right"]$100[/TD]
[TD]24th[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]Car[/TD]
[TD="align: right"]$350[/TD]
[TD]28th[/TD]
[TD]Y[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD="align: right"]$780[/TD]
[TD]Remaining[/TD]
[TD]$205[/TD]
[TD]$175[/TD]
[TD]$100[/TD]
[TD]$100[/TD]
[TD]$0[/TD]
[/TR]
</tbody>[/TABLE]


Is what I got.
 
Upvote 0
Thank you Fazza. It worked perfectly. I need to do a little research to understand why it worked though. Does the "" part indicated an empty cell?
 
Upvote 0
I guess the question I have is are you always paying out of the 780 every month? That's not what I calculated. I calculated that you were catching up with the payments month by month and show what's still remaining.
 
Upvote 0
I suspect it works. I'm slightly confused about the reason for the seemingly great differences of D10 and E10 though. I have a lot to learn though.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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