Excel course · Lesson 33 of 34
Excel for finance basics: loan schedules with PMT, IPMT, PPMT and a budget
Build a loan amortisation schedule with PMT, IPMT and PPMT, total interest with CUMIPMT, savings with FV, a rate with RATE, and a budget-versus-actual sheet.
Loans, savings and budgets are where Excel earns its keep in everyday finance. In this lesson you will build a complete loan amortisation schedule, the table that shows how every payment splits into interest and principal, and then a monthly budget that compares plan with reality. Along the way you will meet the core financial functions and the sign convention that trips up almost everyone the first time.
Three rules for financial functions
- Match the period: for monthly payments, divide the annual rate by 12 and multiply the years by 12.
6%a year for 5 years becomes6%/12per month for60months. - Signs show direction of cash: money you receive is positive, money you pay out is negative. A loan you receive (+20,000) produces a negative payment. Put a minus in front of the loan amount (
-B1) if you want the payment to show as a positive number. - Inputs in cells: never type 0.005 or 60 into the function. Keep rate, term and amount in labelled cells so the model can be changed and checked (Cell references: relative, absolute and mixed).
PMT: the monthly payment
PMT(rate, nper, pv, [fv], [type])| A | B | |
|---|---|---|
| 1 | Loan amount | 20000 |
| 2 | Annual rate | 6% |
| 3 | Years | 5 |
| 4 | Monthly payment | 386.66 |
Inputs in B1:B3. B2 holds 0.06 formatted as %.
Result: 386.66
rate is the interest per period (B2/12), nper the number of payments (B3*12 = 60), and pv the present value, the amount borrowed. The optional fv is a balance left at the end (0 by default, the loan is fully repaid) and type is 0 for payments at the end of each month (normal for loans) or 1 for the start. The answer, 386.66, is the same every month.
=B4*B3*12-B1 in interest: 60 × 386.66 − 20,000 = 3,199.36. The function CUMIPMT gives the same answer directly: =CUMIPMT(B2/12, B3*12, B1, 1, B3*12, 0) returns -3,199.36 (negative, because it is paid out).Building the amortisation schedule
Each payment first covers the interest on the balance still owed; the rest reduces the balance. Early on, interest is large and principal small; by the end it is the other way round. Build the table below the inputs:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 7 | Month | Payment | Interest | Principal | Balance |
| 8 | 1 | 386.66 | 100.00 | 286.66 | 19713.34 |
| 9 | 2 | 386.66 | 98.57 | 288.09 | 19425.25 |
| 10 | 3 | 386.66 | 97.13 | 289.53 | 19135.72 |
| 11 | 4 | 386.66 | 95.68 | 290.98 | 18844.75 |
First four months. Interest in month 1 is 20,000 × 0.5% = 100.00.
Result: 100.00
- In
A7:E7type the headings Month, Payment, Interest, Principal, Balance. - In
A8type1. InA9type=A8+1. (Or in Microsoft 365 put=SEQUENCE(B3*12)in A8 to create all 60 month numbers at once.) - Payment,
B8:=$B$4. - Interest,
C8:=IPMT($B$2/12, A8, $B$3*12, -$B$1). IPMT returns the interest part of payment numberA8. - Principal,
D8:=PPMT($B$2/12, A8, $B$3*12, -$B$1). PPMT returns the principal part. Interest + principal always equals the payment. - Balance,
E8:=$B$1-D8. InE9:=E8-D9, the previous balance minus this month's principal. - Select
A9:E9and fill down to row 67 (month 60). The last balance should be 0.00; if it shows-0.00, that is a rounding residue of a fraction of a cent.
Check a few values against the grid: month 2 interest is 98.57 and principal 288.09; after 12 months the balance is 16,463.94, and interest paid in the first year is 1,103.81 (=-CUMIPMT(B2/12, 60, B1, 1, 12, 0)).
$B$2, $B$3, $B$1) exactly as shown. Without them, filling the formulas down shifts the rate and term references into empty cells and the schedule silently returns zeros or errors.Interest without IPMT
An equivalent and very transparent approach: interest = previous balance × monthly rate. In C9: =E8*$B$2/12, principal =B9-C9. It gives the same numbers and makes it easy to add extra repayments: add a column F with extra payments and subtract it in the balance formula, =E8-D9-F9. The loan then ends earlier, and wrapping the payment in MIN (=MIN($B$4, E8*(1+$B$2/12))) stops the last payment from overshooting.
Other questions the same functions answer
| Question | Formula | Result |
|---|---|---|
| Savings: 200 a month for 10 years at 4%, what will I have? | =FV(4%/12, 120, -200) | 29,449.96 |
| What loan can I afford at 500 a month (6%, 5 years)? | =PV(6%/12, 60, -500) | 25,862.78 |
| Car costs 18,000, payments 350 for 60 months: what annual rate? | =RATE(60, -350, 18000)*12 | 6.24% |
| How many months to repay 20,000 at 6% with 500 a month? | =NPER(6%/12, -500, 20000) | 44.7 months |
| What effective annual rate does 6% compounded monthly give? | =EFFECT(6%, 12) | 6.17% |
FV, PV, RATE and NPER are the same equation as PMT solved for a different unknown. When one of them returns #NUM!, the signs are usually wrong: money in and money out must have opposite signs.
A budget versus actual sheet
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Category | Budget | Actual | Variance | Var % |
| 2 | Rent | 1200 | 1200 | 0 | 0.0% |
| 3 | Groceries | 450 | 512 | 62 | 13.8% |
| 4 | Transport | 180 | 143 | -37 | -20.6% |
| 5 | Utilities | 160 | 171 | 11 | 6.9% |
| 6 | Leisure | 250 | 310 | 60 | 24.0% |
| 7 | Savings | 400 | 400 | 0 | 0.0% |
| 8 | Total | 2640 | 2736 | 96 | 3.6% |
D2 =C2-B2 and E2 =IF(B2=0, "", D2/B2), formatted as %. Totals with SUM.
Result: 62
- List categories in column A, the plan in B, actual spending in C.
- Variance in D:
=C2-B2. A positive number means overspending for costs. - Variance % in E:
=IF(B2=0, "", D2/B2)with Percent Style and one decimal. - Totals in row 8 with
=SUM(B2:B7)and so on; the total variance is 96, or 3.6% over budget. - Highlight overspending: select
D2:D7, Home › Conditional Formatting › Highlight Cells Rules › Greater Than 0, light red. Groceries (+62) and Leisure (+60) stand out (Conditional formatting, including formula-based rules). - Add a custom number format
+#,##0;-#,##0;0to show the sign explicitly (Number formats and custom format codes).
=SUMIFS(Tx[Amount], Tx[Category], $A2, Tx[Date], ">="&C$1, Tx[Date], "<="&EOMONTH(C$1,0)), where C1 holds the first day of the month. One formula fills the whole grid (Counting and summing with criteria: COUNTIFS, SUMIFS, SUMPRODUCT).Good habits for financial models
- One input area, clearly coloured; no numbers typed inside formulas.
- Check totals: the sum of principal payments must equal the loan; interest + principal must equal total payments.
- Round only where money actually changes hands, with ROUND, so displayed and stored values agree.
- Label units: per month or per year, nominal or effective rate.
- Use Goal Seek and Data Tables to test assumptions (What-if analysis: Goal Seek, Data Tables, Scenario Manager and Solver).
Check yourself
1. A loan is at 6% a year with monthly payments. Which rate goes into PMT?
The rate must match the payment period: annual rate divided by 12.
2. Why does =PMT(0.5%, 60, 20000) return a negative number?
Financial functions use signs for cash direction.
3. What does IPMT return for month 1 of a 20,000 loan at 0.5% a month?
Interest on the full balance: 20,000 × 0.5% = 100.
4. Over the life of a loan, how does the interest part of each payment change?
Interest is calculated on the remaining balance, which falls with every payment.
5. Actual spending is 512 and the budget 450. What is the variance %?
(512 − 450) / 450 = 0.138, shown as 13.8%.