Sub topic 5
Using Excel's NPV Function
Assume you know Excel cell references and ranges, can enter percentages, and understand that a cash flow is an amount received or paid at a particular time. This chapter uses equally spaced periods, such as years or months.
What NPV measures
Net present value (NPV) is the present value of future cash inflows and outflows after applying a discount rate. A discount rate is the return required for the investment's risk and timing.
A future cash flow is worth less today because money available today can earn a return. The present value calculation is:
\[ \text{Present value}=\frac{\text{Cash flow at time }t}{(1+r)^t} \]
Here, r is the discount rate per period and t is the number of periods from today. NPV adds the discounted future cash flows and includes the cash flow at time zero, usually the initial investment.
| NPV result | Interpretation |
|---|---|
| Positive | The project earns more than the discount rate |
| Zero | The project earns exactly the discount rate |
| Negative | The project earns less than the discount rate |
Build the cash flow timeline
Use negative numbers for cash paid out and positive numbers for cash received. In this example, the project costs $10,000 today and produces four annual inflows.
| Cell | Value | Timing |
|---|---|---|
| B3 | -10000 | Today, t=0 |
| B4 | 3000 | End of year 1 |
| B5 | 4000 | End of year 2 |
| B6 | 4000 | End of year 3 |
| B7 | 3000 | End of year 4 |
The discount rate is 8% in B1. Excel's NPV function discounts the first value in its range by one full period. Therefore, the time-zero cash flow must remain outside the function.
A1: Discount rate
B1: 8%
A3: Initial investment
B3: -10000
A4: Year 1
B4: 3000
A5: Year 2
B5: 4000
A6: Year 3
B6: 4000
A7: Year 4
B7: 3000
A9: Project NPV
B9: =NPV(B1,B4:B7)+B3The formula returns approximately $1,587.48. This means the project creates about $1,587 of value above the required 8% return.
Visualize the timing
The common timing error
This formula is wrong for the example:
=NPV(B1,B3:B7)It discounts the initial $10,000 outflow as if it occurred at the end of year 1. The result is therefore too high for this negative-first project. Always identify the time-zero row before selecting the range passed to NPV.
Exercise
What formula correctly calculates NPV when B3 is the t=0 cash flow and B4:B7 are future annual cash flows?
Show answer
=NPV(discount_rate,B4:B7)+B3. For this model, use =NPV(B1,B4:B7)+B3.