Launch sale: 40% off everything with code LAUNCH40 — applied automatically at checkout · ends 2026-12-19

2026-12-04 · Blog

Debt snowball vs avalanche in Excel and Google Sheets: a month-by-month payoff model with plain formulas

Online debt calculators give you one number and hide the maths. A spreadsheet can show you the whole thing: which debt gets the extra money each month, when each one is cleared, and how much interest each method costs. This tutorial builds that model with plain formulas (SUMPRODUCT, MATCH, INDEX, MIN, MAX, ROUND). It works in Excel 2010+ and Google Sheets.

The two methods differ only in the order you attack debts:

  • Snowball: smallest balance first. You clear accounts sooner, which many people find motivating.
  • Avalanche: highest interest rate first. Usually costs less interest.

Either way, every debt gets its minimum each month, all spare money goes to the top-priority debt, and when a debt is cleared its minimum "rolls" into the next one. That rollover is the part people find hard to model. Below it falls out of one design decision: keep the total monthly budget fixed.

This is a planning model, not financial advice. It assumes fixed minimums, monthly interest and no new borrowing.

1. The Debts sheet

Create a sheet called Debts with headers in row 1 and up to four debts in rows 2–5 (the example data is fictional):

A B C D E F
1 Debt Balance APR Minimum Snowball # Avalanche #
2 Card A 4850 24.99% 145
3 Store card 1240 27.9% 45
4 Car loan 9600 6.9% 260
5 Card B 1240 19.9% 40

Off to the side, put the extra amount you can pay and the total monthly budget:

H2: Extra per month     I2: 300
H3: Monthly budget      I3: =SUM(D2:D5)+I2

2. Ranking without sorting

You don't want to physically sort the table, because then the user's input order changes. Instead, compute each debt's rank with SUMPRODUCT. A debt's rank is 1 plus the number of debts that should come before it.

Snowball rank (E2): smaller balances come first, and ties go to whichever row is higher up.

=IF(B2<=0,"",1+SUMPRODUCT(($B$2:$B$5>0)*(($B$2:$B$5<B2)+($B$2:$B$5=B2)*(ROW($B$2:$B$5)<ROW(B2)))))

Avalanche rank (F2): higher APR comes first. Ties go to the smaller balance, then to row order.

=IF(B2<=0,"",1+SUMPRODUCT(($B$2:$B$5>0)*(($C$2:$C$5>C2)+($C$2:$C$5=C2)*($B$2:$B$5<B2)+($C$2:$C$5=C2)*($B$2:$B$5=B2)*(ROW($B$2:$B$5)<ROW(B2)))))

Fill both down to row 5. The ROW() tie-breaker matters. Without it, Store card and Card B (both 1,240) would share rank 1 and nothing would be rank 2, which breaks the lookup in the next step. The ($B$2:$B$5>0) factor ignores empty or paid-off rows.

One more column is worth adding, because it catches the most common input mistake:

G2: =IF(B2*C2/12>=D2,"Minimum doesn't cover interest","OK")

3. A plan sheet in priority order

Create a sheet called Snowball. Rows 2–5 list the debts in payoff order, pulled from Debts by rank:

A B C D E
1 Priority Debt row Balance Monthly rate Minimum
2 1
3 2
4 3
5 4
B2: =IFERROR(MATCH(A2,Debts!$E$2:$E$5,0),0)
C2: =IF(B2=0,0,INDEX(Debts!$B$2:$B$5,B2))
D2: =IF(B2=0,0,INDEX(Debts!$C$2:$C$5,B2)/12)
E2: =IF(B2=0,0,INDEX(Debts!$D$2:$D$5,B2))

Fill down to row 5. Now P1 is always "the debt we're attacking first", whichever row it came from.

4. The monthly simulation

Starting in row 8, each debt gets four columns: interest, minimum, extra and balance. P1 uses D–G, P2 uses H–K, P3 uses L–O and P4 uses P–S. Columns A–C hold the month, the budget and the money left over for extra payments.

Row 9 is "month 0" and just holds the opening balances:

A9: 0     G9: =$C$2     K9: =$C$3     O9: =$C$4     S9: =$C$5

Row 10 is month 1. For P1:

D10: =ROUND(G9*$D$2,2)                  interest this month
E10: =MIN($E$2,G9+D10)                  minimum, capped at what's owed
F10: =MAX(0,MIN(G9+D10-E10,$C10))       extra: all spare money, up to what's left
G10: =ROUND(G9+D10-E10-F10,2)           closing balance

P2 uses the same pattern, but its extra is whatever P1 didn't need:

H10: =ROUND(K9*$D$3,2)
I10: =MIN($E$3,K9+H10)
J10: =MAX(0,MIN(K9+H10-I10,$C10-F10))
K10: =ROUND(K9+H10-I10-J10,2)

P3 subtracts F10 and J10, and P4 subtracts F10, J10 and N10:

N10: =MAX(0,MIN(O9+L10-M10,$C10-F10-J10))
R10: =MAX(0,MIN(S9+P10-Q10,$C10-F10-J10-N10))

(L, M, O, P, Q and S follow the P1 pattern with rows 4 and 5 of the priority table.)

Now the shared columns:

A10: =A9+1
B10: =Debts!$I$3
C10: =MAX(0,B10-(E10+I10+M10+Q10))
V10: =D10+H10+L10+P10        total interest this month
W10: =G10+K10+O10+S10        total balance after payments

Select A10:W10 and fill down to row 369. That gives you 360 months, or 30 years.

Why the rollover just works

Look at C10: the budget minus this month's minimums. Once P1 hits zero, its minimum becomes MIN($E$2, 0) = 0, so its 145 is no longer spent on minimums and shows up in "Left for extra" the next month. Because the budget stays the same, the freed-up minimum flows automatically to whichever debt is now first in line. You don't need a "paid off" flag or a special case anywhere.

Two details keep it honest:

  • ROUND(...,2) on interest and balance. Without it, floating-point leftovers like 0.0000001 keep a debt "alive" forever and push your debt-free date out.
  • The MIN caps. A payment can never exceed what's owed, so no money disappears into negative balances.

5. Results

Put these near the top of the Snowball sheet:

H1: Months to debt-free   I1: =IF(COUNTIF(W10:W369,">0")>=360,"Not within 30 yrs",COUNTIF(W10:W369,">0")+1)
H2: Total interest        I2: =SUM(V10:V369)
F2: Paid off (month #)        =IF(C2<=0,"",COUNTIF(G$10:G$369,">0")+1)

Use G for P1, K for P2, O for P3 and S for P4 in F2:F5. If you have a start month in a cell such as Debts!I4, the debt-free date is =EDATE(Debts!$I$4,I1-1).

6. Compare the two methods

Duplicate the Snowball sheet and rename the copy Avalanche. In its column B, change Debts!$E$2:$E$5 to Debts!$F$2:$F$5. That's the only edit. Everything else is identical, so any difference in the results comes purely from the order.

With the fictional example above and 300 extra per month, both plans clear everything in month 25. Snowball costs 2,287.18 in interest and avalanche costs 2,235.72. Snowball clears its second debt by month 7, while avalanche doesn't clear its second debt until month 15. That's the real trade-off in numbers: a small interest difference against earlier wins. Try your own figures, because the gap grows with bigger balances and wider rate spreads.

For a "minimums only" baseline, make a third copy, set its B10 to =SUM(Debts!$D$2:$D$5) and fill that down to B369. If that copy says "Not within 30 yrs", a minimum is too low to ever clear its debt. The check column from step 2 will tell you which one.

The finished version

I sell a workbook that builds on this same model, called Money Map. It handles up to 10 debts, shows snowball, avalanche and minimums-only side by side with interest saved and a debt-free date, and includes a paycheck-by-paycheck budget, spending log, savings goals and dashboard. It works in Excel and Google Sheets with no macros. It's on Gumroad: https://khalidmasscom.gumroad.com/l/ruroa

Disclosure: I run the store that sells Money Map. Everything in this tutorial works on its own without it.

More templates like this

Excel & Google Sheets templates, planners, website templates and AI kits.

Browse the catalog