How to build a debt snowball calculator in Excel

This is not tax, legal, or lending advice. The three balances are a sample. The sheet is not a payoff quote from a lender.

The workbook with these rows is the debt snowball calculator. It holds up to 15 debts. Snowball pays the smallest balance first. Avalanche pays the highest rate first. Both spend the same monthly budget. A tie goes to the earlier row.

Month 1 is January 2026. The household pays $858.85 every month until the last month, which is smaller.

Debt Opening balance Rate Minimum
Medical bill $800 0% $40
Card $5,000 22.36% $125
Car $25,000 6.90% $493.85

The card rate is 22.36%, the August 2026 commercial-bank average for credit-card accounts that were assessed interest, from the Federal Reserve’s G.19 Consumer Credit release of November 6, 2026. It is an average across banks, used here as the rate on this one card. The car stays at 6.90%, the sample on the PMT page, not the 7.54% 60-month new-car average in that same release.

The budget does not shrink

SUMIFS adds the minimums on rows whose balance is above zero, then the extra $200 is added. Type the rate as a percent. The cell stores 0.2236, not 22.36.

SUMIFS
=SUMIFS(D2:D4,B2:B4,">0")+200
=SUMIFS(D2:D4,B2:B4,">0")+200D6
Monthly budget
ABCD
1DebtBalanceRateMinimum
2Medical$8000%$40
3Card$5,00022.36%$125
4Car$25,0006.90%$493.85
5Extra payment$200
6Monthly budget$858.85
A picture of the sample. Blank balances are ignored. 40 + 125 + 493.85 + 200 = 858.85.

40 + 125 + 493.85 + 200 = 858.85. After a debt hits zero, its minimum stays inside that $858.85 and moves to the next debt in that order. The household does not drop the payment.

The car’s minimum is the cent-rounded 60-month payment:

PMT
=ROUND(PMT(0.069/12,60,-25000),2)
=ROUND(PMT(B2/12,B3,-B1),2)B4
Car minimum
AB
1Balance$25,000
2Annual rate6.90%
3Months60
4Minimum$493.85
A picture of the car's minimum. B2 stores 6.90% as 0.069. The unrounded payment is 493.8513…. The sheet stores $493.85.
=ROUND(PMT(0.069/12, 60, -25000), 2)

That returns $493.85. The sheet stores that cent and uses it every month.

Rank the rows once

Snowball rank counts how many balances are smaller, then adds 1 for this row. An earlier row wins a tie, because the second COUNTIFS stops at the current row.

COUNTIFS
=COUNTIFS($B$2:$B$4,">0",$B$2:$B$4,"<"&B2)+COUNTIFS($B$2:B2,B2,$B$2:B2,">0")
=COUNTIFS($B$2:$B$4,">0",$B$2:$B$4,"<"&B2)+COUNTIFS($B$2:B2,B2,$B$2:B2,">0")D2
Snowball rank
ABCDE
1DebtBalanceRateSnow rankAval rank
2Medical$8000%13
3Card$5,00022.36%21
4Car$25,0006.90%32
A picture of the rank. The smallest balance is 1. An earlier row wins a tie. Avalanche uses the same shape with the rate, and ">" instead of "<".

Avalanche counts how many rates are higher. On this sample the order is card, then car, then medical. The 6.90% car outranks the 0% medical bill. The same comparison with the leftover sent to the medical bill first is on Debt snowball vs avalanche. The two orders are $0.24 apart, which is the last section below.

Each schedule row reads its debt with INDEX. Debt 2 is the card, so INDEX of the balance list at 2 is $5,000 in month 1. A blank balance is skipped. The rank is blank on a row whose opening balance is already zero, so a paid-off debt does not take the extra money.

Month 1, then the roll

Interest is the opening balance times the annual rate divided by 12, rounded to the cent with ROUND before the payment is subtracted. Month 1 interest is the same under both orders, because the extra $200 has not changed a balance yet. The medical bill is $0.00. The card is 5,000 × 0.2236 / 12 = 93.1666…, which rounds to $93.17. The car is 25,000 × 0.069 / 12 = $143.75. The sum is $236.92.

The minimum this month is the smaller of the stated minimum and what is left (opening plus interest). The need is whatever is still owed after that minimum. The extra pool is the budget minus every minimum. A debt takes the lesser of its need and what is left of that pool after every earlier rank.

=ROUND(H2+MIN(I2,MAX(0,MonthlyBudget-SUM(H2:H4)-SUMIF(E2:E4,"<"&E2,I2:I4))),2)

Snowball month 1 puts the $200 on the medical bill. The payment is 40 + 200 = $240, and the closing balance is $560. The card pays $125 and closes at $4,968.17. The car pays $493.85 and closes at $24,649.90.

Avalanche month 1 puts the $200 on the card. The medical bill pays $40 and closes at $760. The card pays $325 and closes at $4,768.17. The car is unchanged.

Month 2 is the first interest split. Snowball’s card opens at $4,968.17 and the interest rounds to $92.57. Avalanche’s card opens at $4,768.17 and the interest rounds to $88.85. The gap that month is $3.72. The car opens at $24,649.90 either way, and the interest rounds to $141.74.

xl.running.total is the same addition, month by month. Snowball’s interest is $236.92 in month 1 and $234.31 in month 2, so the running total is $471.23. Avalanche’s month 2 interest is $230.59, so its running total is $467.51. The $3.72 is already there.

Snowball keeps paying $240 on the medical bill. The balances are $560, $320, $80, and $0. That is April 2026, month 4. The last medical payment is $80, so $160 rolls onto the card in that same month. The card’s payment that month is 125 + 160 = $285, and the card closes at $4,709.06.

Both orders finish in June 2029

The sheet repeats that rule for 72 months. A debt still open after month 72 shows Still open. SUMIFS finds the payoff month: the month number on the row where that debt’s opening balance is above zero and the closing balance is zero. The date is EDATE of the first payment, shifted by that month minus 1. Month 42 is 06/01/2029.

Snowball Avalanche
Month the medical bill hits zero 4 20
Month the card hits zero 19 19
Month the car hits zero 42 42
Interest $4,701.65 $4,531.25
Last payment $288.80 $118.40

Forty-one full payments are 41 × 858.85 = $35,212.85. Snowball’s last payment is $288.80, and 35,212.85 + 288.80 = $35,501.65. Avalanche’s last payment is $118.40, and 35,212.85 + 118.40 = $35,331.25. Interest is the amount paid minus the $30,800 that was borrowed. 35,501.65 − 30,800 = 4,701.65. 35,331.25 − 30,800 = 4,531.25. Avalanche saves 4,701.65 − 4,531.25 = $170.40, which is also 288.80 − 118.40.

Through month 12 the car still receives only $493.85 under both orders, because the card is still open. With interest and the payment both rounded to the cent, the car balance at the end of month 12 is $20,663.37. xl.loan.balance on the same loan, after 12 payments and without that cent rounding, returns $20,663.34. The three cents are the rounding.

NPER answers a different question: how long the card would take if the payment stayed $125.

=NPER(0.2236/12, -125, 5000)

The unrounded result is 74.087866… months, which displays as 74.09. In this plan the card is gone in month 19 under both orders. Do not call NPER when the rate is 0%. The medical bill at its $40 minimum is 800 / 40 = 20 months, and NPER at a zero rate returns #NUM!.

Where the $0.24 comes from

The comparison on Debt snowball vs avalanche sends the leftover in month 19 to the medical bill, ahead of the car. That order is card, then medical, then car. Highest rate puts the car ahead of the medical bill, so the leftover in month 19 goes to the car.

In month 19 the medical bill still has $80. It pays its $40 minimum and closes at $40. The card opens at $95.55, interest is $1.78, and the payment of $97.33 finishes it. The car receives $721.52 that month. In month 20 the medical bill pays its last $40, and the car receives $818.85. The medical bill hits zero in August 2027, month 20.

That path costs $4,531.25 of interest. The card-then-medical-then-car path on the comparison page costs $4,531.49. The difference is $0.24, and the last payment is $118.40 here against $118.64 there. Snowball is the same on both pages: $4,701.65, last payment $288.80, medical bill gone in month 4.


Template for this article

Debt Snowball Calculator

More from the blog