Loan Amortization in Excel with Variable Rates and Extra Payments

The company takes a 500,000 term loan over five years at 6.5%, fixed for two years, then resetting. Treasury plans 2,000 a month of extra principal from year two. The amortization template from the bank’s website has one rate cell and no extra-payment column, so the debt schedule in the forecast is a PMT formula and a hope.

A real debt schedule is a row per period with the balance carried forward, and every complication (a rate reset, a prepayment, an interest-only period) is a column. This post builds one in Excel 2021 or 365 with month-end dates, a rate table, and extra payments, and shows how each choice changes interest expense and the payoff date.

The layout

One row per month. Inputs at the top or on the inputs tab: loan amount, term in months, start month-end, and a two-column rate table of effective dates and annual rates.

ColumnContents
APeriod number, 1 to 60
BMonth-end date
COpening balance
DAnnual rate for the period
EScheduled payment
FInterest
GScheduled principal
HExtra principal
IClosing balance

The opening balance is the loan amount in row 1 and the prior closing balance after that. Every other column is a formula that reads from the inputs and from the row itself.

Rates from a table, not a cell

Put rate changes in a table: 1 January 2026 at 6.5%, 1 January 2028 at 7.25%. Each period picks up the rate in effect on its date:

=XLOOKUP(B11, RateTable[Effective], RateTable[Rate], , -1)

The -1 match mode returns the latest effective date on or before the period date. A new reset is a new row in the table. Nothing in the schedule changes. For a floating loan, the table holds the base rate forecast and a separate cell holds the margin; add them in column D.

The payment, recalculated at each reset

At the start, and whenever the rate changes, the lender recalculates the payment to clear the remaining balance over the remaining term. In between, the payment stays the same:

=IF(D11<>D10, PMT(D11/12, Term-A11+1, -C11), MIN(E10, C11*(1+D11/12)))

The first row uses the PMT part on its own. The MIN caps the final payment at what is actually owed, so the last row does not overpay. In the example, the payment is 9,783.07 for the first 24 months and 9,892.41 from the reset, when the rate rises to 7.25% on a balance of 319,197.

Not every loan works this way. Some keep the payment fixed and let the term stretch when rates rise; some recast only on request. Read the agreement and build the rule it describes. The PMT page covers the function’s sign convention, which is why the balance is negative inside it.

Interest and principal

Interest is the opening balance times the period rate:

=C11 * D11/12

Principal is the payment less interest, and the closing balance is the opening balance less scheduled and extra principal:

=E11 - F11
=C11 - G11 - H11

Monthly rate over twelve is the convention for most mortgages and many term loans. Commercial loans often accrue on actual days over a 360-day year, which makes a 31-day month cost more than a 28-day one. In that case interest is =C11*D11*(B11-B10)/360. Check the lender’s statement for one month and match it to the cent before the schedule goes into the forecast.

Extra principal payments

Extra principal sits in its own column so it can be switched on, sized and timed separately. The 2,000 a month from period 13:

=IF(A11>=13, MIN(ExtraPmt, C11-G11), 0)

The MIN stops the extra payment taking the balance below zero in the final months.

Here is what it changes, all else equal:

MeasureNo extra2,000 a month from month 13
Payment after the reset9,892.419,126.05
Paid offMonth 60Month 53
Total interest90,92080,632

Interest falls by 10,289. Because this loan recasts at the reset, the lower balance cuts the payment as well as the term. On a loan that keeps the payment fixed, all of the benefit shows up as an earlier payoff. That difference matters for the cash forecast: one version frees up cash every month, the other frees up a lump at the end.

Link it into the three statements

The schedule feeds the model in three places: interest to the P&L, the closing balance to the balance sheet (split between current and long-term portions), and scheduled plus extra principal to financing cash flow. Pull each with SUMIFS on the month-end date so the schedule can be monthly while the model is quarterly or annual:

=SUMIFS(Debt[Interest], Debt[Month End], ">"&EOMONTH(H$4,-3), Debt[Month End], "<="&H$4)

The current portion of long-term debt is the scheduled principal due in the next twelve months, which is the same window shifted forward. Lenders’ covenants usually test on it, so get it from the schedule, not from a plug.

Checks

  • The closing balance in the last row is zero, or within a cent.
  • Sum of principal plus extra principal equals the loan amount.
  • Interest in a sample month matches the lender’s statement.
  • The balance never goes negative.

Put the first two in a check cell at the top of the schedule and roll them into the model’s master check.

Where it breaks

One rate cell instead of a table. A rate change overwrites the history, and last year’s interest expense in the model no longer matches the actuals.

Payment hardcoded from the term sheet. Fine until the first reset or prepayment; then the balance drifts away from the lender’s.

Interest on the closing balance. Interest accrues on what was owed during the period, the opening balance. Using the closing balance makes interest depend on principal, which depends on interest: a circular reference. If the model pays interest on cash or a revolver, that circularity is real and needs handling deliberately, which the circular references post covers.

Similar Posts