fxExcelReps
PRO

You've used your 3 free functions

To practise NPV and every other function, get a PRO subscription.

  • Unlimited access to every function
  • New functions and exercises every month
  • Every mistake explained + full solutions

Your free functions — you can always come back to these:

← All functions

How to use NPV in Excel

NPV calculates the net present value of a series of cash flows at a discount rate — the standard way to decide if an investment or project is worth doing. A positive NPV means it earns more than the rate you require.

Syntax

=NPV(rate, value1, [value2], ...)

rateThe discount rate for one period (e.g. your cost of capital).
value1, …Cash flows or ranges, starting one period from now. Text and empty cells are ignored.

Examples

=NPV(10%, B3:B7)+B2Project NPV: years 1–5 discounted, year-0 investment added outside.
=NPV(8%, 3000, 4000, 5000)NPV of three yearly amounts typed directly.
=NPV(10%/12, C2:C37)Monthly cash flows with a monthly rate.

Is the investment worth it?

Put the initial investment as a negative number in year 0 and the expected cash flows after it. NPV discounts the future flows; the year 0 amount is added outside NPV, because it happens today.

=NPV(10%, C3:C7)+C2C2 holds -100,000 today, C3:C7 the returns of years 1 to 5. Above 0 means the project beats a 10% return.
=IF(NPV(10%, C3:C7)+C2>0, "Invest", "Reject")The decision in one cell.

Try different discount rates

Keep the rate in its own cell and change it, or build a small table to see how sensitive the result is.

=NPV($F$1, C3:C7)+C2NPV with the rate in F1.
=NPV(F3, $C$3:$C$7)+$C$2One row of a sensitivity table: rates in F3, F4, F5 and so on.

Cash flows on real dates

NPV assumes equal periods. When the payments fall on irregular dates, use XNPV with the dates next to the amounts.

=XNPV(10%, C2:C7, B2:B7)The same idea with the actual dates in B2:B7, the first one being today's investment.

Common mistakes

NPV is too low
You put the year-0 investment inside NPV, so it was discounted one year. Keep it outside: =NPV(rate, B3:B7)+B2.
Dates are uneven
NPV assumes equal periods. For real dates use XNPV(rate, values, dates).
A blank year is skipped
Blank cells are skipped, not treated as 0, so later cash flows move one period earlier — enter 0 for a year without cash flow.

Tips

  • Check your NPV with SUMPRODUCT: =SUMPRODUCT(B2:B7, 1/(1+r)^A2:A7) gives the same result when A holds years 0…5.

Frequently asked questions

Why is my NPV different from a financial calculator?

Usually because the year 0 investment was put inside NPV, which discounts it by one period. Keep it out: NPV of years 1 to n, plus year 0.

What does a negative NPV mean?

The investment returns less than the discount rate you chose. At that rate it destroys value.

What's the difference between NPV and IRR?

NPV gives an amount at a chosen rate. IRR gives the rate at which NPV is exactly 0.

Does NPV skip blank cells?

Yes, and that shifts every later year by one period. Put 0 in a year with no cash flow, never leave it blank.

Available in: All versions of Excel, Excel for the web, Google Sheets

Related functions

IRRPVFVSUMPRODUCT