Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — €9.90
Loading the spreadsheet…

Why every business decision eventually becomes a time-value question

Should you save for a new machine or borrow for it today? How much do you need to put aside each month? Is a lump sum now worth more than a bigger payment later? These questions sound different, but they are all the same question in disguise: what is money worth at a different point in time? Excel answers it with a small family of financial functions, and once you understand the first two, FV and PV, the rest of the family (PMT, RATE, NPER, NPV, IRR) follows the same logic.

This free lesson is for small-business owners, finance and accounting students, analysts who inherited a loan or savings model, and anybody who has typed =FV( once and got a negative number they could not explain. We follow Juniper Roast Co., a fictional specialty coffee roaster that wants a new 120,000 roasting machine in three years. All numbers are illustrative examples, and the lesson is educational, not financial or investment advice.

You will learn the five shared arguments of the time-value functions, the cash-flow sign convention that confuses almost everybody at first, the difference between payments at the end and at the start of a period, and how to work backwards from a goal with PV. The lab above uses exactly the same numbers, so you can check every formula in this article yourself.

The core concept: five arguments, one equation

Excel's time-value functions all describe one savings or loan plan with five quantities. If you know any four, Excel can solve for the fifth:

  • rate: the interest rate per period. A 4.2% annual rate paid monthly is 4.2% ÷ 12 = 0.35% per month.
  • nper: the number of periods. Three years of monthly deposits is 3 × 12 = 36 periods.
  • pmt: the payment made every period, the same amount each time.
  • pv: the present value, a lump sum at the very start (today).
  • fv: the future value, the amount at the very end.
  • type (optional): 0 or omitted if payments happen at the end of each period, 1 if they happen at the start.

So FV(rate, nper, pmt, [pv], [type]) returns the end balance, PV(rate, nper, pmt, [fv], [type]) returns the value today, PMT(rate, nper, pv, [fv], [type]) returns the regular payment, NPER the number of periods and RATE the rate per period. The single most important rule is that rate and nper must use the same period. Monthly deposits need a monthly rate and a number of months. Mixing an annual rate with monthly periods is the number-one source of wildly wrong answers.

The sign convention: money out is negative, money in is positive

Excel looks at every cash flow from one point of view: yours. Money that leaves your pocket, such as a deposit into a savings account or a loan repayment, is negative. Money that comes back to you, such as the final balance you withdraw or a loan you receive, is positive. That is why the lab formula =FV(B2/B4,B3*B4,-B5,-B6) puts minus signs in front of the monthly deposit and the starting balance: both are cash out, so the balance that comes back is positive.

Excel's sign convention, seen from Juniper's wallettodaymonth 36pv = -10,000pmt = -1,500 every month (cash out, negative)fv = +68,782.90(cash in, positive)=FV(B2/B4,B3*B4,-B5,-B6)minus signs in, positive answer outBars below the line leave your pocket, bars above the line come back to you.
The 10,000 starting balance and the 36 deposits of 1,500 leave Juniper's account (negative). The balance after 36 months comes back (positive). Excel needs the signs to know which way the money flows.

If you forget the minus signs, Excel still returns the right size, but negative: -68,782.90. Nothing is broken; Excel is simply describing the plan from the bank's side, where your balance is money it must pay out. The same logic explains why PV and PMT often return negative numbers: the deposit you need to make is cash out. Wrapping the function in a minus, as in =-PV(…), is a common and perfectly correct way to show the answer as a positive amount on a report.

Worked example: Juniper's savings plan for a new roaster

Juniper starts with 10,000 in a savings account that pays, for example, 4.2% a year with monthly compounding, and adds 1,500 at the end of every month for three years. The machine it wants costs 120,000. These are the inputs from the lab, in the same cells:

CellInputValue
B2Annual interest rate4.2%
B3Years3
B4Deposits per year12
B5Monthly deposit1,500.00
B6Starting balance10,000.00
B7Price of the new roaster120,000.00

And these are the four answers the lab asks for, with the exact formulas and the results Excel returns:

CellQuestionFormulaResult
B10Balance after 3 years, deposits at month end=FV(B2/B4,B3*B4,-B5,-B6)68,782.90
B11Balance after 3 years, deposits at month start=FV(B2/B4,B3*B4,-B5,-B6,1)68,983.95
B12Interest earned (month-end plan)=B10-(B6+B5*B3*B4)4,782.90
B13Lump sum needed today for the roaster=-PV(B2/B4,B3*B4,0,B7)105,817.06

Let us read them one by one. Juniper pays in 10,000 + 36 × 1,500 = 64,000 in total. Thanks to compound interest the account holds 68,782.90 after 36 months, so 4,782.90 is interest. You can split the balance into its two sources: the 10,000 starting balance on its own grows to 11,340.33, and the 36 deposits grow to 57,442.57. Together they make the 68,782.90 in B10.

Moving every deposit to the start of the month (type = 1) adds 201.05. That looks small, but the logic is worth remembering: each of the 36 deposits now earns exactly one extra month of interest at 0.35%. Rent, insurance premiums and many lease payments are paid in advance, which is why the type argument exists.

The year-by-year view shows how the gap between "paid in" and "balance" widens over time. Each row uses the same FV formula with a different number of years; the dollar signs keep the inputs fixed if you copy the formula to other cells:

End of yearMonthsFormulaBalancePaid inInterest so far
112=FV($B$2/$B$4,1*$B$4,-$B$5,-$B$6)28,778.7528,000.00778.75
224=FV($B$2/$B$4,2*$B$4,-$B$5,-$B$6)48,361.5846,000.002,361.58
336=FV($B$2/$B$4,3*$B$4,-$B$5,-$B$6)68,782.9064,000.004,782.90

Balance vs money paid in, month by month0k10k20k30k40k50k60k70k061218243036monthpaid in: 64,00068,782.90interest earned (4,782.90 by month 36)starting balance + deposits
Money paid in grows in a straight line, the balance curves slightly upwards. The yellow gap is the interest, and it grows faster each year because interest is earned on earlier interest.

The last answer turns the question around. Instead of "what will I have?", PV asks "what would I need today?". With no monthly deposits (pmt = 0) and a goal of 120,000 in 36 months, =-PV(B2/B4,B3*B4,0,B7) returns 105,817.06. Put that amount into the account today, leave it for three years at 0.35% a month, and it grows to 120,000. The difference, 14,182.94, is what three years of interest is worth on that sum.

Lump sum needed today to have 120,000 later (4.2% a year, monthly)120,000price115,0731 year110,3482 years105,8173 years101,4724 years97,3065 yearsPeach bar = the lab's answer: =-PV(B2/B4,B3*B4,0,B7) = 105,817.06
The further away the purchase, the less you need to set aside today. Each bar is =-PV(4.2%/12, 12*years, 0, 120000).

One more number completes the picture. Juniper's current plan reaches only 68,782.90, well short of 120,000. How much would it have to deposit each month to hit the target on time? That is the job of PMT: =-PMT(B2/B4,B3*B4,-B6,B7) returns 2,837.43 a month. You will use PMT properly in the next lesson, but notice how the same five arguments simply move around.

How to do it in Excel, step by step

These steps work in Excel for Microsoft 365, Excel 2021 and older versions, on Windows and Mac. FV and PV have been part of Excel for decades, so any version will do.

  1. Lay out the inputs. Type the labels in A2:A7 and the values in B2:B7. Format B2 as a percentage (Ctrl+Shift+%, then add decimals with Home > Number > Increase Decimal) and B5:B7 as currency or with a thousands separator (Ctrl+Shift+!). Keeping every assumption in its own labelled cell makes the model easy to check and change.
  2. Insert FV. Click B10 and type =FV(. Excel shows the argument tooltip FV(rate, nper, pmt, [pv], [type]). Alternatively go to Formulas > Financial > FV or press Shift+F3 to open the Insert Function dialog, which explains each argument as you fill it in.
  3. Enter rate and nper in the same period. For rate, type B2/B4 (annual rate ÷ 12). For nper, type B3*B4 (years × 12).
  4. Enter the cash flows with the right sign. For pmt type -B5, for pv type -B6. Close the bracket and press Enter. The result should be positive: 68,782.90.
  5. Copy and change the timing. In B11, use the same formula with a fifth argument of 1: =FV(B2/B4,B3*B4,-B5,-B6,1).
  6. Check the interest. In B12, subtract everything paid in: =B10-(B6+B5*B3*B4). A plausibility check like this catches most mistakes, because interest should be positive and modest compared with the deposits.
  7. Work backwards with PV. In B13, type =-PV(B2/B4,B3*B4,0,B7). The 0 says there are no monthly payments; B7 is the future value you want.
  8. Test your model. Change B2 to 0% for a moment. B10 must then equal exactly 64,000 and B12 must be 0. If not, a sign or a period is wrong. Press Ctrl+Z to restore the rate.
Press Ctrl+` (the key left of 1 on most keyboards) to switch the sheet between showing results and showing formulas. It is the fastest way to review a financial model, and F4 toggles a reference between relative and absolute ($B$2) while you type.

Excel financial functions FV, PV, PMT, NPV and IRR applied to a coffee roaster's savings and investment plans
The course follows one fictional roaster through savings, loans, investments and depreciation, all with Excel's built-in financial functions.

Common mistakes and how to spot them

Financial functions rarely return an error. They return a believable but wrong number, which is more dangerous. These are the mistakes behind most of them.

  • Annual rate with monthly periods. =FV(B2,36,-B5,-B6) compounds at 4.2% per month and returns a far too large balance (well over 100,000 here). Spot it: interest that is a large share of the deposits over a short time is a red flag. Always divide the annual rate by the periods per year.
  • Years instead of periods. Using 3 for nper with monthly deposits counts only three deposits. Spot it: the result is only about 14,600, far too little for a three-year plan. Multiply years by periods per year.
  • Missing or doubled minus signs. Forgetting the minus gives a negative result of the right size. Writing a minus on the deposit but not on the starting balance mixes directions and returns a nonsense value. Spot it: all money you pay in should carry the same sign.
  • Forgetting the starting balance. =FV(B2/B4,B3*B4,-B5) ignores the 10,000 already in the account and returns 57,442.57. Spot it: compare the result with the total paid in.
  • Typing a percent as a whole number. Entering 4.2 instead of 4.2% means 420% a year. Spot it: the rate cell should show 4.2% with a percentage format, which Excel stores as 0.042.
  • Confusing type 0 and 1. Type 1 is only right when payments really happen at the start of each period. Spot it: ask when the first payment is made. At the start of the month, today? Then type is 1.
  • Rounding inside formulas. Typing 0.0035 instead of B2/12 works here, but a rate like 4.5% ÷ 12 = 0.375% gets rounded by hand all too easily. Let Excel do the division.

Quick reference: time-value functions and shortcuts

Function / shortcutSyntaxAnswers the question
FV=FV(rate,nper,pmt,[pv],[type])What will the plan be worth at the end?
PV=PV(rate,nper,pmt,[fv],[type])What is it worth today, or what must I put in now?
PMT=PMT(rate,nper,pv,[fv],[type])What regular payment reaches the goal or repays the loan?
NPER=NPER(rate,pmt,pv,[fv],[type])How many periods will it take?
RATE=RATE(nper,pmt,pv,[fv],[type],[guess])What rate per period is hidden in an offer?
type argument0 or omitted = end, 1 = startWhen are payments made within each period?
Insert FunctionShift+F3Opens the dialog with help for every argument
Show formulasCtrl+`Toggles between formulas and results
Absolute referenceF4Cycles B2 → $B$2 → B$2 → $B2
Percent formatCtrl+Shift+%Shows 0.042 as a percentage

Real-world uses

FV and PV look like textbook functions, but they sit behind many everyday spreadsheets:

  • Saving for equipment or a vehicle. Exactly the Juniper case: FV shows what a monthly saving plan will reach, PMT shows the deposit needed to reach a price on time, and comparing the two tells you whether to save, lease or borrow.
  • Personal savings goals. A deposit for a flat, a sabbatical, a child's education: the same formula with your own numbers shows how much a monthly standing order adds up to, and how much of that is interest.
  • Comparing a lump sum with instalments. If a customer offers 10,000 now or 10,600 in a year, PV discounts the later amount at your own rate so you can compare like with like.
  • Sinking funds and reserves. Property managers and clubs set aside money for future repairs. PV tells the committee how large the reserve must be today; FV shows what the current contributions will grow to.
  • Checking a bank or sales offer. When an advisor presents a savings product, rebuilding the projection with FV in two minutes shows whether the quoted end value is consistent with the quoted rate.

What you will build in the rest of this course

Juniper Roast stays with you for the whole course. Each lab adds one decision the business has to make, and every cell you calculate is checked instantly.

Lesson 2: PMT, IPMT, PPMT and an Amortisation Table. Juniper finances its roaster with a loan. You calculate the monthly payment with PMT, split the first year's payments into interest (IPMT) and principal (PPMT), roll the outstanding balance forward in an amortisation table and pull the second year's total interest with CUMIPMT, the table every borrower should be able to build.

Lesson 3: RATE and NPER: Solve for the Rate and the Term. A supplier offers a van with a monthly payment and a balloon at the end, but no interest rate. You uncover the real rate with RATE, with and without the balloon, and use NPER to see how many months a credit line takes to repay.

Lesson 4: NPV vs XNPV: Discounting Dated Cash Flows. Juniper plans its own café. You value the projected cash flows with NPV, rebuild XNPV by hand from the real dates and learn why the two results differ, a detail that matters whenever cash flows do not arrive on neat yearly dates.

Lesson 5: IRR vs XIRR vs MIRR. The same café, measured as a rate of return three ways: IRR on yearly periods, XIRR on the actual dates, and MIRR, which reinvests the cash at a more realistic rate. You see when each one is the honest number to report.

Lesson 6: Depreciation: SLN, DB, DDB and SYD. Accountants spread the cost of a machine over its life. You build a depreciation schedule for the new roaster with SLN, DB, DDB and SYD and chart how each method shifts the cost between the years.

Lesson 7: EFFECT, NOMINAL and Day-Count Basics. Three banks advertise cash-reserve accounts with different compounding. You compare them on the effective annual rate with EFFECT, convert a target back with NOMINAL, and see how the day-count basis changes the interest on a short loan.

Lesson 8: Mid-course Project: Investment Comparison Dashboard. Lab 8: an investment dashboard that compares two growth projects on NPV, IRR and profitability index, picks the winner with a formula and charts the cash flows, a compact template for any project decision.

Complete all 20 labs and the final exam to earn the Tabellab Certified Excel Financial Functions User certificate.

Summary

All of Excel's time-value functions share five arguments: rate, nper, pmt, pv and fv, plus the optional type. Match the period of the rate to the period of the payments, enter money you pay in as negative and money you receive as positive, and use type 1 only for payments at the start of a period. FV projects a plan forward (68,782.90 for Juniper), PV works backwards from a goal (105,817.06 today for a 120,000 roaster), and a quick 0% test proves your signs and periods are right.

Now scroll up to the lab and build the four formulas yourself. The Coach checks each cell instantly and tells you exactly what went wrong if a sign or a period is off. It takes about 15 minutes.

Frequently asked questions

Why does Excel FV return a negative number?

Excel uses a cash-flow sign convention: money you pay in is negative and money you receive is positive. Enter deposits and the starting balance as negative values, for example =FV(rate,nper,-pmt,-pv), and the future value is positive.

How do I use FV with monthly deposits and an annual interest rate?

Divide the annual rate by 12 and multiply the years by 12, for example =FV(4.2%/12,3*12,-1500,-10000). The rate and the number of periods must always use the same period.

What does the type argument in FV and PV mean?

Type tells Excel when payments are made: 0 or omitted means the end of each period, 1 means the start. Start-of-period payments earn one extra period of interest, so the future value is higher.

What is the difference between PV and FV in Excel?

FV returns what a series of cash flows is worth at the end of the plan, PV returns what it is worth today. They are the same calculation viewed from opposite ends of the timeline.

How do I calculate how much to invest today to reach a goal in Excel?

Use PV with no regular payments, for example =-PV(4.2%/12,36,0,120000) for 120,000 in three years. The minus sign shows the required deposit as a positive amount.

How do I calculate the interest earned on a savings plan in Excel?

Subtract everything you paid in from the FV result, for example =FV(rate,nper,-pmt,-pv)-(pv+pmt*nper). The difference is the interest earned over the whole term.

Keep going: Excel Financial Functions: PMT, IPMT, NPV, XNPV, IRR, XIRR & RATE

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time €9.90.

  1. PMT, IPMT, PPMT and an Amortisation Table
  2. RATE and NPER: Solve for the Rate and the Term
  3. NPV vs XNPV: Discounting Dated Cash Flows
  4. IRR vs XIRR vs MIRR
  5. Depreciation: SLN, DB, DDB and SYD
  6. EFFECT, NOMINAL and Day-Count Basics
  7. Mid-course Project: Investment Comparison Dashboard
  8. RRI, NPER and Changing Rates: Growth and Time to Target
  9. Lease or Buy? Comparing Present Costs with PV
  10. VDB: Switching to Straight-Line and Part-Year Depreciation
  11. Bonds: PRICE, YIELD and Accrued Interest
  12. DURATION, MDURATION and Bond Price Sensitivity
  13. Short-Term Paper: TBILLPRICE, TBILLYIELD, DISC and RECEIVED
  14. NPV Profiles and the Crossover Rate
  15. Payback and Discounted Payback Periods
  16. Loan Offers with Fees: Finding the True Rate with RATE
  17. Inflation: Real Rates and a Savings Goal in Future Dollars
  18. Plausibility Checks: Catching Sign, Period and IRR Traps
  19. Final Project: Café Financing Dashboard

Buy course — €9.90 See the full course