BUS 120 · Spreadsheets and Business Data

Financial Functions for Loans and Investments

Use PMT, FV, PV, RATE, NPV and IRR correctly, with matching periods, sensible signs and a check on every answer.

Key takeaways

  • Money has time value, so amounts paid at different dates cannot simply be added together.
  • The rate and the number of periods must use the same time unit, such as months with a monthly rate.
  • Spreadsheets use signs to show direction: money you receive is positive and money you pay is negative.
  • NPV in a spreadsheet assumes its first value arrives one period from now, so add today's cost separately.
  • Check every financial answer with a rough estimate or a small schedule built row by row.

Nadia wants to buy a delivery van for an invented flower shop. The dealer says the payment is "only a few hundred a month." Nadia opens a spreadsheet, types a formula and gets a monthly payment of more than $1,200. Then she tries again and gets $200. Both answers came from the same function.

One formula, two wildly different results, and only one of them close to the truth. Financial functions are powerful and unforgiving. They will not ask whether your rate is per year while your periods are months. They just calculate.

This lesson shows how to speak to them clearly.

A quick reminder about time and money

A dollar today is worth more than a dollar next year, because today's dollar can earn something in the meantime. If you want the full story, read present value of money and future value of money. Here we put the spreadsheet to work.

Five quantities appear again and again.

Name Meaning In Excel
Rate Interest rate for one period rate
Periods How many payments or periods nper
Present value The amount today pv
Payment The equal amount each period pmt
Future value The amount at the end fv

If you know four of them, a function can usually find the fifth.

Five quantities, one family of functions
A stream of money Know four and solve for the fifth. FV Value at the end. PMT Equal payment each period. RATE Interest per period. NPER Number of periods. PV Value today. A stream of money Know four and solve for the fifth. RATE Interest per period. NPER Number of periods. PV Value today. PMT Equal payment each period. FV Value at the end.

The sign convention

Financial functions think about cash moving in two directions. Money that comes to you is positive. Money that leaves you is negative.

When Nadia borrows, the loan arrives (positive) and the payments leave (negative). So =PMT returns a negative number for a positive loan. That is not an error. Some people put a minus sign in front of the loan amount to show a positive payment. Pick a style and label it.

PMT: the loan payment

PMT finds the equal payment that clears a loan.

=PMT(rate, nper, pv, [fv], [type])

The square brackets mark optional arguments. The type is 0 for payments at the end of each period (the default) and 1 for payments at the beginning.

Nadia's made-up loan is $24,000 at 6% a year, repaid monthly over 2 years. Actual rates vary widely, so use the figures in a real offer. The monthly rate is 6% ÷ 12 = 0.5%, and the number of months is 2 × 12 = 24.

=PMT(6%/12, 24, 24000)    → -1,063.69

She pays about $1,063.69 each month. Over 24 months that is 1,063.69 × 24 = 25,528.56. Subtract the 24,000 borrowed and the interest is about $1,528.56.

A rough check: 24,000 spread over 24 months is 1,000. Interest adds a bit, so a payment a little above 1,000 makes sense.

Putting the inputs in cells

Typing 24000 inside the formula works once. Better to give each input its own labeled cell: loan amount in B1, yearly rate in B2, years in B3 and payments per year in B4. Then the formula becomes:

=PMT(B2/B4, B3*B4, B1)

Now Nadia can try a longer loan by changing one cell. With 3 years instead of 2, there are 36 payments, and the monthly payment falls to about $730.13. That feels easier. But 36 × 730.13 = 26,284.68, so the interest rises to about $2,284.68, compared with $1,528.56.

A smaller payment is not the same as a cheaper loan. Always show the total paid beside the payment. This one extra line answers the question the dealer's "only a few hundred a month" was designed to skip.

Building the schedule

Do not take the payment on faith. Build the first rows of an amortization schedule, which shows how each payment splits into interest and principal. Principal is the amount still owed on the loan itself.

Each month: interest equals the balance times 0.005, principal paid equals the payment minus interest and the new balance is the old balance minus principal paid.

Month Starting balance Interest Principal Ending balance
1 24,000.00 120.00 943.69 23,056.31
2 23,056.31 115.28 948.41 22,107.90
3 22,107.90 110.54 953.15 21,154.75

Interest falls as the balance falls, and principal rises. If you build all 24 rows, the final balance should be zero, apart from a few cents of rounding. Excel's IPMT and PPMT functions give the interest and principal parts of any single payment. The lesson on amortization schedules covers the idea in full.

Each $1,063.69 payment pays less interest over time
Month 1 interest $120 Month 2 interest $115.28 Month 3 interest $110.54 Month 1 interest $120 Month 2 interest $115.28 Month 3 interest $110.54

As interest shrinks, more of the same payment reduces the loan. Hypothetical example: the numbers are made up to show the method, not a quote or an average.

FV and PV: forward and backward

FV finds what savings will grow into. Suppose Nadia saves $500 at the end of each year for 3 years and earns an assumed 4% a year.

=FV(4%, 3, -500)    → 1,560.80

Check by hand. The first deposit grows for two years: 500 × 1.04² = 540.80. The second grows one year: 520.00. The third earns nothing yet: 500.00. The sum is 1,560.80.

The deposits are negative because they leave her pocket. The result is positive because she gets it back.

PV works backward. What is $10,000, to be received in 2 years, worth today at 5% a year?

=PV(5%, 2, 0, 10000)    → -9,070.29

Because 10,000 ÷ 1.05² = 9,070.29. The negative sign says you would pay that much now to receive 10,000 later.

RATE and NPER solve for the other two. For example, =RATE(24, -1063.69, 24000) returns about 0.5% per month. Multiply by 12 to state a yearly rate of about 6%. That multiplied figure ignores compounding within the year. The EFFECT function converts it: =EFFECT(6%, 12) is about 6.17%.

Which function do I need?

Start from the question. "What will my payment be?" calls for PMT. "What will my savings grow to?" calls for FV. "What is this future sum worth now?" calls for PV. "How long until the loan is gone?" calls for NPER.

For example, suppose Nadia could pay $1,500 a month on the same loan. =NPER(0.5%, -1500, 24000) returns about 16.7. So she would make 16 full payments and a smaller 17th one. Paying faster means the balance spends less time earning interest for the lender. Check the loan contract first, since some loans charge for early payoff.

Notice that these functions assume equal payments and a rate that never changes. Loans with changing rates, or irregular deposits, need a row-by-row schedule instead. Spreadsheets also offer XNPV and XIRR for cash flows that fall on uneven dates.

A worked example: is the new cooler worth it?

Nadia is thinking about a flower cooler that costs $10,000 today. She expects it to save $4,000 at the end of each of the next three years. She requires a return of 8% a year. All of these are estimates she invented.

NPV, net present value, brings every future cash flow back to today and subtracts the cost. In a spreadsheet, put -10,000 in B1 and 4,000 in B2, B3 and B4.

=NPV(8%, B2:B4) + B1

Work it by hand:

Year 1:  4,000 ÷ 1.08    = 3,703.70
Year 2:  4,000 ÷ 1.08²   = 3,429.36
Year 3:  4,000 ÷ 1.08³   = 3,175.33
Total                    = 10,308.39
Less cost                = -10,000.00
Net present value        =    308.39

The result is positive, so on these estimates the cooler earns more than 8%. IRR, the internal rate of return, is the rate at which NPV is exactly zero. =IRR(B1:B4) returns about 9.7%.

Net present value of the flower cooler
Cost today ($10,000) Year 1 +$3,703.70 Year 2 +$3,429.36 Year 3 +$3,175.33 NPV $308.39 Cost today ($10,000) Year 1 +$3,703.70 Year 2 +$3,429.36 Year 3 +$3,175.33 NPV $308.39

Example with made-up numbers.

The margin is thin. If savings were $3,800 a year, the present value would fall to about 9,793, and NPV would turn negative at about -207. That sensitivity is worth showing, and what-if analysis gives you the tools. For how managers use these measures, see net present value and internal rate of return.

The common mistakes

Mismatched time units. =PMT(6%, 24, 24000) treats 6% as a monthly rate. The payment comes out far too high. =PMT(6%/12, 2, 24000) asks for two monthly payments of about 12,000 each. Always ask: one period is how long?

Putting today's cost inside NPV. =NPV(8%, B1:B4) treats the $10,000 as if it were paid a year from now. Everything is discounted one extra period, and the answer becomes 308.39 ÷ 1.08, about 285.55. The error is small here, which makes it easy to miss.

Forgetting payment timing. Rent and leases are often paid at the start of the period. Leaving the type at 0 shifts every payment by one period.

Trusting IRR blindly. If cash flows switch between positive and negative more than once, there may be more than one IRR, or none. IRR also says nothing about the size of a project. When it and NPV disagree, look carefully.

A habit that catches most errors

Before you trust any financial result, guess it first. For a loan, divide the amount by the number of payments. The real payment should be a bit higher, because interest comes on top. For savings, add up the deposits. The future value should be a bit higher than that sum: Nadia's 1,500 of deposits became 1,560.80.

For a present value, the answer should be smaller than the future amount whenever the rate is above zero. For NPV, add the raw cash flows: 12,000 of savings minus 10,000 of cost is 2,000. Discounting must shrink that figure, and it did, down to 308.39.

If a result breaks one of these simple expectations, stop. Check the time unit, then the signs, then the cell references. Nine times out of ten, the culprit is one of those three, and you can find it in less time than it takes to defend a wrong number in a meeting.

Know what the function leaves out

A computed payment may not include fees, insurance, taxes or charges that a lender adds. Loan offers in the United States generally disclose an annual percentage rate (APR) that reflects certain costs, but check the contract and the current rules from the relevant regulator. A spreadsheet tells you what follows from your inputs. It cannot tell you whether the inputs are complete, and nothing here is advice about a particular loan.

Label every input, state the rate's period and keep the schedule. A reviewer can then retrace your path in a minute.

Words to know

Principal the amount borrowed that is still owed, apart from interest.

Annuity a series of equal payments made at regular intervals.

Present value what a future amount of money is worth today at a given rate.

Future value what money today or a series of deposits will grow to by a later date.

Net present value the present value of expected cash inflows minus the cost.

Internal rate of return the discount rate that makes net present value equal zero.

Sign convention the rule that cash received is positive and cash paid is negative.

Check yourself

  1. A loan charges 9% a year with monthly payments over 3 years. What rate and nper belong in PMT?
  2. Why does =PMT return a negative number for a positive loan amount?
  3. In Nadia's loan, what is the interest in month 1, and how much principal does the first payment repay?
  4. What is the present value of $5,000 due in one year at 25% a year?
  5. Why is the initial cost added outside the NPV function?
  6. Why should you check a financial function with a rough estimate or schedule?
Show the answers
  1. The rate is 9% ÷ 12 = 0.75% per month and nper is 3 × 12 = 36.
  2. The loan is cash received and the payment is cash paid out, so they carry opposite signs.
  3. Interest is 24,000 × 0.005 = 120 and principal is 1,063.69 - 120 = 943.69.
  4. It is 5,000 ÷ 1.25 = 4,000.
  5. NPV discounts its first value by a full period, while today's cost should not be discounted at all.
  6. The function calculates whatever you type, so a check reveals mismatched periods, wrong signs or bad inputs.

A free self-study program written for 4Accounting with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Analysis

  1. Pivot TablesTurn a long list of transactions into a clear summary with pivot tables, then check that the totals still agree.10 min
  2. Charts for Financial DataChoose the right chart for a financial question, build it from clean data and avoid pictures that mislead.11 min
  3. Financial Functions for Loans and InvestmentsUse PMT, FV, PV, RATE, NPV and IRR correctly, with matching periods, sensible signs and a check on every answer.11 min
  4. Designing a Workbook Others Can TrustLay out a workbook with separate inputs, calculations and outputs so that another person can follow and check it.10 min
  5. Error Checking and Spreadsheet ControlsFind spreadsheet mistakes with control totals, check formulas and review habits before they reach a report.10 min
  6. What-If Analysis and ScenariosTest how results change when assumptions change, using input cells, data tables, Goal Seek and best, base and worst cases.10 min

In the news