Debt Free Date Formula

OrangeJuice

New Member
Joined
Feb 26, 2024
Messages
7
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi there,

I am building an avalanche method debt worksheet and want to create a formula that autopopulates the debt free date at the top of the sheet.

I am thinking it has to be something where "when column x (total debt owing) = 0, spit out the value in column a (the month column) - but I am not sure how to write that in excel terms!

please let me know if you need a better example or explanation!

thanks in advance
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
when column x (total debt owing) = 0, spit out the value in column a (the month column)
Hi, something like this maybe..
Book2
AXYZAA
1monthtotal debt owingFormula
2January8May
3February4
4March6
5April4
6May0
7June0
8July0
9August0
10September0
11October0
12November0
13December0
Sheet1
Cell Formulas
RangeFormula
AA2AA2=INDEX($A$2:$A$13,MATCH(0,$X$2:$X$13,0))
 
Upvote 0
Yes I think this is the right idea! However, when I use that, it is giving me an N/A error.

Some other details:
- Column A is in Date format
- Column A uses merged cells
- I am using Microsoft Office 2019 (wondering if that might limit what I can do?)


Column A Column X
MonthDescriptionCredit CardTotal
Starting Balance $ 1,234 $ 14,484
December-24Minimum Payment $ 25.00 $ 125.00
Extra Payment $ 270.00 $ 270.00
Interest $ 23.65 $ 257.40
Running Balance $ 962.65 $ 14,346.40
January-25Minimum Payment $ 25.00 $ 125.00
Extra Payment $ 270.00 $ 270.00
Interest $ 18.45 $ 254.54
Running Balance $ 686.10 $ 14,205.95
February-25Minimum Payment $ 25.00 $ 125.00
Extra Payment $ 270.00 $ 270.00
Interest $ 13.15 $ 251.63
Running Balance $ 404.25 $ 14,062.57
 
Upvote 0
sorry, it didnt copy and past well above.

Below is a screen grab that I think reflects more what I am trying to do
 

Attachments

  • Example.jpg
    Example.jpg
    43.3 KB · Views: 5
Upvote 0
Column A uses merged cells
Hi, you should avoid merged cells at all cost!

Below is a screen grab that I think reflects more what I am trying to do
We can't tell from the screen shot which rows or columns that data is in. If you've shown "column X" in that screen shot then none of the rows are zero. How about you post a new sample data set where we can see what the rows and columns are, and for that sample data, let us know what result you expect and importantly the logic that should be applied to reach that expected result.

See if you can use the XL2BB add-in to post your sample data.
 
Upvote 0
For some reason I can't seem to get the XL2BB to work, whenever I open it I get a "Cant Open this in Protected View" message and when I search for it in the add ins store, it doesnt show up

I have re copied and pasted a clearer (I hope) example below

Column A Column X
MonthDescriptionCredit Card 1Credit Card 2Credit Card 3Total
Interest Rate23%23%22%
Minimum Payment $ 25 $ 25 $ 25
Starting Balance $ 1,000 $ 1,000 $ 1,000 $ 3,000
December-24Minimum Payment $ 25.00 $ 25.00 $ 25.00 $ 75.00
Extra Payment $ 270.00 $ - $ - $ 270.00
Interest $ 19.17 $ 19.17 $ 18.33 $ 56.67
Running Balance $ 724.17 $ 994.17 $ 993.33 $ 2,711.67
January-25Minimum Payment $ 25.00 $ 25.00 $ 25.00 $ 75.00
Extra Payment $ 270.00 $ - $ - $ 270.00
Interest $ 13.88 $ 19.05 $ 18.21 $ 51.15
Running Balance $ 443.05 $ 988.22 $ 986.54 $ 2,417.81
February-25Minimum Payment $ 25.00 $ 25.00 $ 25.00 $ 75.00
Extra Payment $ 270.00 $ - $ - $ 270.00
Interest $ 8.49 $ 18.94 $ 18.09 $ 45.52
Running Balance $ 156.54 $ 982.16 $ 979.63 $ 2,118.33
March-25Minimum Payment $ 25.00 $ 25.00 $ 25.00 $ 75.00
Extra Payment $ 134.54 $ 135.46 $ - $ 270.00
Interest $ 3.00 $ 18.82 $ 17.96 $ 39.78
Running Balance $ 0.00 $ 840.53 $ 972.59 $ 1,813.12
April-25Minimum Payment $ - $ 25.00 $ 25.00 $ 50.00
Extra Payment $ 0.00 $ 270.00 $ - $ 270.00
Interest $ 0.00 $ 16.11 $ 17.83 $ 33.94
Running Balance $ (0.00) $ 561.64 $ 965.42 $ 1,527.06
May-25Minimum Payment $ - $ 25.00 $ 25.00 $ 50.00
Extra Payment $ (0.00) $ 270.00 $ - $ 270.00
Interest $ (0.00) $ 10.76 $ 17.70 $ 28.46
Running Balance $ (0.00) $ 277.40 $ 958.12 $ 1,235.52
June-25Minimum Payment $ - $ 25.00 $ 25.00 $ 50.00
Extra Payment $ (0.00) $ 270.00 $ - $ 270.00
Interest $ (0.00) $ 5.32 $ 17.57 $ 22.88
Running Balance $ 0.00 $ (12.28) $ 950.69 $ 938.40
July-25Minimum Payment $ - $ - $ 25.00 $ 25.00
Extra Payment $ 0.00 $ (12.52) $ 270.00 $ 257.48
Interest $ 0.00 $ (0.24) $ 17.43 $ 17.19
Running Balance $ (0.00) $ (0.00) $ 673.12 $ 673.12
August-25Minimum Payment $ - $ - $ 25.00 $ 25.00
Extra Payment $ (0.00) $ (0.00) $ 270.00 $ 270.00
Interest $ (0.00) $ (0.00) $ 12.34 $ 12.34
Running Balance $ 0.00 $ - $ 390.46 $ 390.46
September-25Minimum Payment $ - $ - $ 25.00 $ 25.00
Extra Payment $ 0.00 $ - $ 270.00 $ 270.00
Interest $ 0.00 $ - $ 7.16 $ 7.16
Running Balance $ (0.00) $ - $ 102.61 $ 102.61
October-25Minimum Payment $ - $ - $ 25.00 $ 25.00
Extra Payment $ (0.00) $ - $ 79.50 $ 79.50
Interest $ (0.00) $ - $ 1.88 $ 1.88
Running Balance $ 0.00 $ - $ (0.00) $ (0.00)
November-25Minimum Payment $ - $ - $ - $ -
Extra Payment $ 0.00 $ - $ (0.00) $ (0.00)
Interest $ 0.00 $ - $ (0.00) $ (0.00)
Running Balance $ (0.00) $ - $ (0.00) $ (0.00)

So ideally this formula would see that in October 2025 (Column A), Running Balance of all Debt is 0
 
Upvote 0
I think I figured out how to use XL2BB

Debt Free Date Example.xlsx
CDEFGH
1
2Extra Payment$ 270.00
3Debt Free Date#N/AMinimum Payment$ 75.00
4
5Column AColumn X
6MonthDescriptionCredit Card 1Credit Card 2Credit Card 3Total
7Interest Rate23%23%22%
8Minimum Payment$ 25$ 25$ 25
9Starting Balance$ 1,000$ 1,000$ 1,000$ 3,000
10December-24Minimum Payment$ 25.00$ 25.00$ 25.00$ 75.00
11Extra Payment$ 270.00$ -$ -$ 270.00
12Interest$ 19.17$ 19.17$ 18.33$ 56.67
13Running Balance$ 724.17$ 994.17$ 993.33$ 2,711.67
14January-25Minimum Payment$ 25.00$ 25.00$ 25.00$ 75.00
15Extra Payment$ 270.00$ -$ -$ 270.00
16Interest$ 13.88$ 19.05$ 18.21$ 51.15
17Running Balance$ 443.05$ 988.22$ 986.54$ 2,417.81
18February-25Minimum Payment$ 25.00$ 25.00$ 25.00$ 75.00
19Extra Payment$ 270.00$ -$ -$ 270.00
20Interest$ 8.49$ 18.94$ 18.09$ 45.52
21Running Balance$ 156.54$ 982.16$ 979.63$ 2,118.33
22March-25Minimum Payment$ 25.00$ 25.00$ 25.00$ 75.00
23Extra Payment$ 134.54$ 135.46$ -$ 270.00
24Interest$ 3.00$ 18.82$ 17.96$ 39.78
25Running Balance$ 0.00$ 840.53$ 972.59$ 1,813.12
26April-25Minimum Payment$ -$ 25.00$ 25.00$ 50.00
27Extra Payment$ 0.00$ 270.00$ -$ 270.00
28Interest$ 0.00$ 16.11$ 17.83$ 33.94
29Running Balance$ (0.00)$ 561.64$ 965.42$ 1,527.06
30May-25Minimum Payment$ -$ 25.00$ 25.00$ 50.00
31Extra Payment$ (0.00)$ 270.00$ -$ 270.00
32Interest$ (0.00)$ 10.76$ 17.70$ 28.46
33Running Balance$ (0.00)$ 277.40$ 958.12$ 1,235.52
34June-25Minimum Payment$ -$ 25.00$ 25.00$ 50.00
35Extra Payment$ (0.00)$ 270.00$ -$ 270.00
36Interest$ (0.00)$ 5.32$ 17.57$ 22.88
37Running Balance$ 0.00$ (12.28)$ 950.69$ 938.40
38July-25Minimum Payment$ -$ -$ 25.00$ 25.00
39Extra Payment$ 0.00$ (12.52)$ 270.00$ 257.48
40Interest$ 0.00$ (0.24)$ 17.43$ 17.19
41Running Balance$ (0.00)$ (0.00)$ 673.12$ 673.12
42August-25Minimum Payment$ -$ -$ 25.00$ 25.00
43Extra Payment$ (0.00)$ (0.00)$ 270.00$ 270.00
44Interest$ (0.00)$ (0.00)$ 12.34$ 12.34
45Running Balance$ 0.00$ -$ 390.46$ 390.46
46September-25Minimum Payment$ -$ -$ 25.00$ 25.00
47Extra Payment$ 0.00$ -$ 270.00$ 270.00
48Interest$ 0.00$ -$ 7.16$ 7.16
49Running Balance$ (0.00)$ -$ 102.61$ 102.61
50October-25Minimum Payment$ -$ -$ 25.00$ 25.00
51Extra Payment$ (0.00)$ -$ 79.50$ 79.50
52Interest$ (0.00)$ -$ 1.88$ 1.88
53Running Balance$ 0.00$ -$ (0.00)$ (0.00)
54November-25Minimum Payment$ -$ -$ -$ -
55Extra Payment$ 0.00$ -$ (0.00)$ (0.00)
56Interest$ 0.00$ -$ (0.00)$ (0.00)
57Running Balance$ (0.00)$ -$ (0.00)$ (0.00)
58December-25Minimum Payment$ -$ -$ -$ -
59Extra Payment$ (0.00)$ -$ (0.00)$ (0.00)
60Interest$ (0.00)$ -$ (0.00)$ (0.00)
61Running Balance$ 0.00$ -$ 0.00$ 0.00
Debt Schedule
Cell Formulas
RangeFormula
D3D3=INDEX($H$9:$H$1665,MATCH(0,$C$10:$C$1665),0)
G3G3=SUM(E8:G8)
E10:G10,E14:G14,E18:G18,E22:G22,E26:G26,E30:G30,E34:G34,E38:G38,E42:G42,F46:G46,F50:G50,F54:G54,F58:G58E10=IF(E9>0.01,E$8,0)
E11,E15,E19,E23,E27,E31,E35,E39E11=IF(E9>$G$2,$G$2,(E9-E10+E12))
F60:G60,E12:G12,E16:G16,E20:G20,E24:G24,E28:G28,E32:G32,E36:G36,E40:G40,F44:G44,F48:G48,F52:G52,F56:G56E12=IFERROR(E9*(E$7/12),0)
E61:G61,E13:G13,E17:G17,E21:G21,E25:G25,E29:G29,E33:G33,E37:G37,E41:G41,E57:G57,E53:G53,E49:G49,E45:G45E13=E9-E10-E11+E12
E44,E60,E56,E52,E48E44=E41*($E$7/12)
E46,E58,E54,E50E46=IF(E45>0.01,$E$8,0)
C14,C18,C22,C26,C30,C34,C38,C42,C46,C50,C54,C58C14=EDATE(C10,1)
G11,G15,G19,G23,G27,G31,G35,G39,G43,G47,G51,G55G11=IF(OR(E11>0.01,F11>0.01),$G$2-SUM(E11:F11),IF(G9>$G$2,$G$2,G9-G10+G12))
F11,F15,F19,F23,F27,F31,F35,F39,F43,F47,F51,F55,F59F11=IF(F9>0,$G$2-E11,IF(F9>$G$2,$G$2,F9-F10+F12))
H9:H61H9=SUM(E9:G9)
 
Upvote 0
Hi, you have the ranges in the INDEX and MATCH functions the wrong way around, you are not using the same size range in both, have a misplaced parenthesis and we also need to jump through some hoops to adjust for the merged cells. Using the layout you presented in post#7 try:

Excel Formula:
=INDEX($C$10:$C$1665,(INT((MATCH(0,$H$10:$H$1665,0)-1)/4)*4)+1)

Book1
CDEFGH
1
2Extra Payment270
3Debt Free DateOct-25Minimum Payment75
4
5Column AColumn X
6MonthDescriptionCredit Card 1Credit Card 2Credit Card 3Total
7Interest Rate23%23%22%
8Minimum Payment252525
9Starting Balance1,0001,0001,000
10Dec-24Minimum Payment25252575
11Extra Payment270 - -270
12Interest19.1719.1718.3356.67
13Running Balance724.17994.17993.332,711.67
14Jan-25Minimum Payment25252575
15Extra Payment270 - -270
16Interest13.8819.0518.2151.15
17Running Balance443.05988.22986.542,417.81
18Feb-25Minimum Payment25252575
19Extra Payment270 - -270
20Interest8.4918.9418.0945.52
21Running Balance156.54982.16979.632,118.33
22Mar-25Minimum Payment25252575
23Extra Payment134.54135.46 -270
24Interest318.8217.9639.78
25Running Balance0840.53972.591,813.12
26Apr-25Minimum Payment -252550
27Extra Payment0270 -270
28Interest016.1117.8333.94
29Running Balance0561.64965.421,527.06
30May-25Minimum Payment -252550
31Extra Payment0270 -270
32Interest010.7617.728.46
33Running Balance0277.4958.121,235.52
34Jun-25Minimum Payment -252550
35Extra Payment0270 -270
36Interest05.3217.5722.88
37Running Balance0-12.28950.69938.4
38Jul-25Minimum Payment - -2525
39Extra Payment0-12.52270257.48
40Interest0-0.2417.4317.19
41Running Balance00673.12673.12
42Aug-25Minimum Payment - -2525
43Extra Payment00270270
44Interest0012.3412.34
45Running Balance0 -390.46390.46
46Sep-25Minimum Payment - -2525
47Extra Payment0 -270270
48Interest0 -7.167.16
49Running Balance0 -102.61102.61
50Oct-25Minimum Payment - -2525
51Extra Payment0 -79.579.5
52Interest0 -1.881.88
53Running Balance0 -00.0
54Nov-25Minimum Payment - - - -
55Extra Payment0 -00
56Interest0 -00
57Running Balance0 -00
58Dec-25Minimum Payment - - - -
59Extra Payment0 -00
60Interest0 -00
61Running Balance0 -00
Sheet1
Cell Formulas
RangeFormula
D3D3=INDEX($C$10:$C$1665,(INT((MATCH(0,$H$10:$H$1665,0)-1)/4)*4)+1)
 
Upvote 0
Solution

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