Sub topic 8
Using Excel's IRR Function
This chapter assumes you know Excel cell references and ranges, can enter percentages, and understand that cash-flow signs represent direction. You will use periodic cash flows, where each row represents the same length of time, such as one year or one month.
What IRR measures
The internal rate of return (IRR) is the periodic discount rate that makes a project's net present value (NPV) equal to zero. It is the rate at which the present value of future inflows exactly matches the initial and later outflows.
A valid IRR range normally contains at least:
- One negative cash flow, such as an investment or payment.
- One positive cash flow, such as revenue or a sale proceeds.
- Cash flows listed in chronological order.
- Equal time intervals between rows.
For example, this project requires 10,000 today and returns cash over the next four years:
| Period | Cash flow |
|---|---|
| 0 | -10,000 |
| 1 | 3,000 |
| 2 | 4,000 |
| 3 | 4,000 |
| 4 | 3,000 |
The negative value records money leaving the project. The positive values record money entering it.
Entering the IRR formula
Place the cash flows in cells B3:B7, with the period-0 cash flow in B3. Then enter:
=IRR(B3:B7)Excel returns the IRR per period. If each row represents one year, the result is an annual IRR. If each row represents one month, the result is a monthly IRR.
The optional guess argument supplies an initial estimate for Excel's iterative calculation:
=IRR(B3:B7, 0.1)Here, 0.1 means 10%. The guess does not force the answer to be 10%. It gives Excel a starting point for finding a rate that makes NPV equal to zero.
Validate the result
IRR is a rate, so verify it by substituting it into an NPV calculation. Excel's NPV function discounts the first value in its range by one period. Therefore, keep the period-0 cash flow outside the NPV range:
=NPV(IRR(B3:B7), B4:B7) + B3The result should be very close to zero. A small residual, such as 0.01 or -0.02, can result from rounding and numerical iteration.
Reading errors and results
| Result | Likely meaning | Check |
|---|---|---|
| A percentage | Excel found a periodic IRR | Confirm the period represented by each row |
| `#NUM!` | Excel did not find a solution from its starting point | Check signs, cash flows, and try a guess |
| `#VALUE!` | A range contains invalid text or values | Inspect every cell in the range |
| Unexpectedly high or low rate | Timing or signs may be wrong | Rebuild the timeline and cross-check NPV |
The formula can also have more than one valid solution when cash flows change sign several times. In that case, treat the returned rate as a result requiring investigation, not automatically as the correct decision metric.
Exercise
Cash flows in B3:B6 are -5,000, 2,000, 2,000, and 2,000. Write an IRR formula and a formula that checks whether NPV at that IRR is approximately zero.
Show answer
Use =IRR(B3:B6). The check is =NPV(IRR(B3:B6),B4:B6)+B3.