How to Build an Excel Amortization Formula Without Losing Your Mind
30 July 2026

How to Build an Excel Amortization Formula Without Losing Your Mind
You are probably staring at a blinking cursor in cell A1, wondering why your loan spreadsheet is returning a #NUM! error, or worse, why your principal balance isn't hitting zero at the end of the term. It is usually past midnight when people try to build an excel amortization formula. Maybe you are looking at a mortgage offer, a business loan, or a car finance agreement, and you want to see the raw, unvarnished truth of what those monthly payments are actually doing to your balance over the next five, fifteen, or thirty years.
Lenders give you a monthly payment figure, but they rarely show you the slow, grinding machinery underneath it—how early on, almost all of your hard-earned cash is just paying for the privilege of borrowing, while the actual debt sits stubbornly high. Spreadsheets let you look behind the curtain. But Excel's built-in financial functions can feel like they were written in ancient Greek by actuaries who hate beginners.
Let's fix that. We are going to build a clean, bulletproof amortization schedule from scratch, walk through a real-world set of numbers together, and clear up the quirks that trip up even seasoned spreadsheet users.
Why Lenders Hide the Math (And Why You Need to See It)
When you take out a loan, the monthly payment formula is fixed. Every single month, you pay the exact same amount. But behind the scenes, a quiet shift happens on every single payment date: the proportion of what you pay toward interest shrinks, and the proportion going toward the principal grows.
If you don't map this out, borrowing feels like a black box. You make twenty payments, look at your balance, and wonder why you still owe nearly as much as you started with. Building your own amortization schedule changes your perspective from passive borrower to someone who actually understands the mechanics of debt.
Before we dive into formulas, let's look at the standard layout you need in Excel. Open a blank sheet and set up these header rows in columns A through F:
- Column A: Payment Number (0, 1, 2, 3...)
- Column B: Beginning Balance
- Column C: Scheduled Payment
- Column D: Principal Paid
- Column E: Interest Paid
- Column F: Ending Balance
Row 0 is your starting point—the day the loan lands in your account. Let's walk through an example using a hypothetical loan of $200,000, taken over 30 years (360 months), at an example interest rate of 5%.
Step 1: Setting Up the Basics and the PMT Function
Let's anchor our example.
- Loan Amount: $200,000
- Annual Interest Rate: 5%
- Loan Term: 30 years (or 360 monthly payments)
In your spreadsheet, it is best to put these core variables in dedicated cells at the very top of your sheet (say, cells B1 to B3) so you can change them later to see how different scenarios play out.
To find your monthly payment in Excel, you use the PMT function. In your payment cell, the formula looks like this:
=PMT(Rate, Nper, Pv)
Translated to our variables:
- Rate: Your annual rate divided by 12 (since payments are monthly).
=5%/12 - Nper: Total number of payments.
30 * 12(or 360) - Pv: Present value, or the loan amount. Enter it as a negative number so your output displays as a positive cash outflow:
-$200,000.
When you put it all together:
=PMT(0.05/12, 360, -200000)
Excel will spit out your monthly payment: $1,073.64.
Now, let's set up Row 0 in our grid.
- In row 2 (our header row), put your column titles.
- In row 3 (Payment 0), your Ending Balance (Column F) should simply reference your original loan amount:
=200000. Everything else in row 3 is blank. This represents Day One.
Step 2: Writing the Formulas for Month One
Now comes the fun part: row 4, which represents your very first month of payment. This is where most people get tripped up by mixing up annual and monthly rates.
Beginning Balance (Column B)
Your beginning balance for month one is simply the ending balance of the previous month.
- Formula in cell B4:
=F3
Scheduled Payment (Column C)
This is your fixed monthly payment. Point it directly to the cell where you calculated your PMT function earlier, and lock it using dollar signs so it doesn't shift when you drag the formula down.
- Formula in cell C4:
=$B$4(assuming your PMT lives there, or reference your top-level summary cell). Let's say your fixed payment is locked as-$1073.64(or keep it positive and subtract it—consistency is key).
Interest Paid (Column E)
How much of this month's payment goes straight to the bank as interest? You calculate this by taking your beginning balance, multiplying it by your annual interest rate, and dividing by 12.
- Formula in cell E4:
=B4 * (0.05 / 12) - For our example, your first month's interest is
$200,000 * 0.00416666, which equals $833.33.
Principal Paid (Column D)
If your total payment is $1,073.64 and $833.33 of it went to interest, the rest must go toward shrinking the actual debt.
- Formula in cell D4:
=C4 - E4 - That gives us
$1,073.64 - $833.33 =$240.31 going toward the principal.
Ending Balance (Column F)
Your new balance is what you owed at the start of the month, minus the principal you just paid off. (Never subtract the total payment here—only the principal portion reduces your balance).
- Formula in cell F4:
=B4 - D4 $200,000 - $240.31 =$199,759.69.
Take a breath. You have just built the core engine of an amortization table. If you want to check your work or play with different timelines before building out 360 rows, you can test scenarios instantly using a dedicated tool like the Amortization Calculator to see how changing terms shifts these exact figures.
Step 3: Expanding to 360 Rows Without Losing Your Mind
Now that you have row 4 working, you need to drag it down for the rest of the loan term. But if you drag it down blindly for 360 rows, you will eventually hit a messy edge case: Month 360 will pay off the loan, but Month 361 will keep running numbers into negative territory, showing you owe negative money to the bank.
To keep your spreadsheet clean and professional, we use an IF statement wrapper to tell Excel: If there is still a balance left, calculate the payment. If the balance is zero, stop.
Let's rewrite our Beginning Balance formula (Column B) for row 5 and downward to handle this gracefully:
=IF(F4<=0, 0, F3)
This small addition tells Excel: Look at the previous ending balance. If it has dropped to zero or below, just display 0. Otherwise, bring down the previous ending balance.
For your Interest and Principal formulas in row 5 downward, you can wrap them in a similar check, or simply let Excel evaluate them based on a zero balance. Keeping the schedule clean ensures that when you reach the final month, your ending balance hits an absolute, satisfying $0.00.
What Trips People Up: Common Spreadsheet Traps
Even with the formulas written out, tiny errors can throw off your entire sheet by hundreds of dollars over the life of a loan. Here are the traps that catch people off guard:
1. The Rounding Discrepancy
If you sum up all 360 principal payments in your column, you might find that the total doesn't quite match your original $200,000 loan amount—it might be off by a few cents. This is normal. Banks round to the nearest penny every month, which creates microscopic rounding drift. To fix this, some advanced users wrap their payment formulas in Excel's ROUND(..., 2) function so every monthly calculation is strictly truncated to two decimal places.
2. Forgetting to Anchor Cells
When you drag formulas down a spreadsheet, Excel automatically shifts cell references down by one row (turning B4 into B5, B6, etc.). This is great for your running balances, but it will break your formulas if Excel tries to read your interest rate or loan amount from a fixed summary cell at the top. Always use absolute references (like $B$1 with dollar signs) for any cell that shouldn't move.
3. Mixing Up Payments Per Year
If you are calculating a loan that has bi-weekly payments instead of monthly payments, simply dividing your annual rate by 12 will break your math. Your Nper and Rate must always match your payment frequency. For weekly payments, divide by 52 and multiply your years by 52.
What Changes the Answer? (Extra Payments and Rate Shifts)
The real power of building your own excel amortization formula isn't just seeing what is scheduled—it's testing what happens when you break the schedule.
What happens if you decide to throw an extra $100 a month at your principal?
Because interest is calculated strictly against your current beginning balance, every extra dollar you pay today permanently shrinks the balance that interest can attach to tomorrow. When you build this in Excel, you can modify your Principal Paid formula to include an "extra payment" cell:
=C4 - E4 + [Extra_Payment_Cell]
When you drag that down, watch what happens to your 360-month timeline. That 30-year mortgage suddenly shrinks to 26 years. You don't just save $100 a month; you wipe out decades of accumulated interest payments with a few keystrokes. Seeing that number drop in real-time on a spreadsheet does more for your financial motivation than any budgeting book ever could.
You're in Control of the Numbers Now
Formulas can feel intimidating when they are just blocks of text on a screen, but once you see how the beginning balance, interest, and principal lock together, the mystery disappears. Debt stops being an abstract, terrifying cloud hanging over your head and becomes a predictable arithmetic sequence that you can manage, test, and beat.
Whether you are planning to pay off a loan early, checking a lender's math, or just trying to understand where your money goes every month, you now have the exact blueprint to build a schedule that works.
Disclaimer: This guide is for educational purposes and general information. It does not constitute formal financial, tax, or legal advice. Always review your specific loan agreements and consult a qualified professional before making major financial decisions.
Frequently Asked Questions
Why doesn't my final payment bring my Excel amortization schedule to exactly zero?
This usually happens because of monthly rounding differences or because the final month's interest calculation leaves a tiny fraction of a cent remaining. To fix this, you can manually adjust your final payment formula or use Excel's ROUND function on your interest and principal columns to ensure every monthly row is cleanly rounded to two decimal places.
Can I use this same formula for bi-weekly or weekly loan payments?
Yes, but you must adjust your time variables to match your payment frequency. If you are paying bi-weekly (26 times a year), divide your annual interest rate by 26 instead of 12, and multiply your total loan years by 26 to get your total number of payment periods (Nper).
What is the difference between the PMT function and the IPMT function in Excel?
The PMT function calculates your total fixed payment (principal + interest combined). Excel also offers IPMT (which calculates only the interest portion for a specific period) and PPMT (which calculates only the principal portion for a specific period). While you can build a schedule using IPMT and PPMT, tracking balances using the straightforward subtraction method we used above is often less prone to period-indexing errors.
Want to test your calculations on the move? Try the free Finlaa app to run your numbers anywhere, anytime.
