Excel NPV function: net present value of an investment project
Use NPV in Excel to see if a project pays off: discount rate, the year-0 investment trap, comparing with IRR, and worked examples in UZS.
1 million UZS today is worth more than 1 million a year from now: you could put it in a bank at 18–20% or invest it in a business. That is why you can’t judge a project by simply adding up future income.
NPV is net present value: it brings each year’s cash flow back to “today’s money” at a chosen rate (discounts it) and adds the results. After subtracting the investment, the rule is simple:
- NPV > 0 — the project earns more than the rate you require; accept it.
- NPV < 0 — you would do better leaving the money on deposit at that rate.
Example: you want to open a coffee point for 100 million UZS and expect income for 4 years. NPV answers in one cell: is it worth it?
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Year | Cash flow | Rate | 18% | ||
| 2 | 0 | -100 000 000 | NPV | 13 042 415 | ||
| 3 | 1 | 35 000 000 | ||||
| 4 | 2 | 45 000 000 | ||||
| 5 | 3 | 50 000 000 | ||||
| 6 | 4 | 40 000 000 | ||||
| 7 |
Syntax
=ЧПС(rate; value1; [value2]; ...)
- rate — the discount rate for one period: your required return or cost of capital (for example, the loan rate). Annual cash flows need an annual rate.
- value1, value2, … — the cash flows: income positive, costs negative. A range (
B3:B6) or separate cells, up to 254 values.
The key rule: NPV assumes the first value arrives at the end of period 1 and divides it by (1+rate), the second by (1+rate)², and so on. An investment paid today (year 0) must not be discounted — so you add it outside the function:
=ЧПС(rate; year 1:last year) + year-0 investment
Calculating NPV step by step
1
Enter the cash flows by year in one column. Type the year-0 investment as a negative number: -100,000,000. Put the rate in its own cell (E1 = 18%) so you can change it and see the result instantly.
2
Select E2 and click Формулы → Финансовые → NPV.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Year | Cash flow | Rate | 18% | ||
| 2 | 0 | -100 000 000 | NPV | |||
| 3 | 1 | 35 000 000 | ||||
| 4 | 2 | 45 000 000 | ||||
| 5 |
3
In the dialog set Rate to E1 and Value1 to years 1–4 only — B3:B6. Do not include B2!
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Year | Cash flow | Rate | 18% | ||
| 2 | 0 | -100 000 000 | NPV | 61 979 316 | ||
| 3 | 1 | 35 000 000 | ||||
| 4 | 2 | 45 000 000 | ||||
| 5 |
4
After OK, click in the formula bar and add +B2 at the end: =ЧПС(E1;B3:B6)+B2. Press Enter — done. Now change E1 to 12% or 24%: NPV recalculates.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Year | Cash flow | Rate | 18% | ||
| 2 | 0 | -100 000 000 | Correct | 13 042 415 | ||
| 3 | 1 | 35 000 000 | Wrong | 11 052 8941 | ||
| 4 | 2 | 45 000 000 | ||||
| 5 | 3 | 50 000 000 | ||||
| 6 | 4 | 40 000 000 | ||||
| 7 |
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Year | Project A | Project B | Rate | 20% | ||
| 2 | 0 | -50 000 000 | -50 000 000 | ||||
| 3 | 1 | 30 000 000 | 10 000 000 | ||||
| 4 | 2 | 25 000 000 | 25 000 000 | ||||
| 5 | 3 | 15 000 000 | 50 000 000 | ||||
| 6 | NPV | 1 041 667 | 4 629 630 | ||||
| 7 |
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Year | Cash flow | Rate | NPV | ||
| 2 | 0 | -100 000 000 | 12% | 28 133 460 | ||
| 3 | 1 | 35 000 000 | 18% | 13 042 415 | ||
| 4 | 2 | 45 000 000 | 24% | 635 503 | ||
| 5 | 3 | 50 000 000 | 30% | -9 686 285 | ||
| 6 | 4 | 40 000 000 | IRR | 24,3% | ||
| 7 |
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Year | Empty cell | 0 entered | Rate | 18% | ||
| 2 | 0 | -100 000 000 | -100 000 000 | ||||
| 3 | 1 | 50 000 000 | 50 000 000 | ||||
| 4 | 2 | 1 | 0 | ||||
| 5 | 3 | 60 000 000 | 60 000 000 | ||||
| 6 | 4 | 40 000 000 | 40 000 000 | ||||
| 7 | NPV | 9 809 182 | -477 711 | ||||
| 8 |
Pro level: real dates, choosing the rate, making the call
- Irregular dates — XNPV. When payments fall on different days, use
=XNPV(rate; values; dates). It treats the first flow as today, so the year-0 investment goes inside the range — that is the difference from NPV. Its partner is XIRR. - How to choose the rate. It is the opportunity cost of money: borrowing for the project — the loan rate; your own money — a safe deposit rate plus a risk premium. Always show how NPV moves when the rate shifts by 5 points (example 2).
- Profitability index. To compare projects of different size:
=ЧПС(E1;B3:B6)/-B2. Above 1 means every UZS invested returns more than one. - When NPV and IRR disagree (one picks A, the other B), trust NPV: it is measured in money and shows how much value is created.
- Inflation. If the cash flows are in current prices, the rate must be nominal too. Mixing real and nominal figures gives a misleading answer.
Try it in the simulator
Is the project worth it at 18%? Type =ЧПС(E1;B3:B6)+B2 in E2. Then type the wrong version =ЧПС(E1;B2:B6) in E3 and compare. Finally change E1 to 0.25 and watch the sign of NPV.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Year | Cash flow | Rate | 0,18 | ||||||||||||||||||||
| 2 | 0 | -100000000 | NPV | |||||||||||||||||||||
| 3 | 1 | 35000000 | Wrong | |||||||||||||||||||||
| 4 | 2 | 45000000 | ||||||||||||||||||||||
| 5 | 3 | 50000000 | ||||||||||||||||||||||
| 6 | 4 | 40000000 | ||||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.