Category: FUNCTION | Updated: 2026-11-22

How to Use the IRR Function | Calculate the Internal Rate of Return (Yield) on an Investment

Syntax

=IRR(cashflow_amounts, [rate_guess])
  • cashflow_amounts: A cell range containing the initial investment (negative) and periodic returns (positive). Periods must be equally spaced.
  • rate_guess (optional): An estimated internal rate of return (default is 0.1 = 10%).

Practical Example with a Table

Here is an example of calculating the internal rate of return (IRR) for an initial investment of ¥10,000,000 that yields the following cash flows in Years 1 through 4.

Period Cash Flow (JPY) Notes
Year 0 (Initial Investment) -10,000,000 Must include a negative value
Year 1 2,500,000 Year 1 return
Year 2 3,000,000 Year 2 return
Year 3 3,500,000 Year 3 return
Year 4 3,500,000 Year 4 return
  • Formula: =IRR(B2:B6)
  • Result: 8.90%

Common Errors and Notes

  • Difference in Range from the NPV Function: Unlike the NPV function, the IRR function must include the Year 0 initial investment (negative value) at the beginning of the range.
  • Handling Years with Zero Cash Flow: If a year has zero return, do not leave the cell blank—always enter 0. Blank cells are not counted as periods, which skews the calculation.

Frequently Asked Questions

Q. How do you use the IRR (internal rate of return) figure to make investment decisions?

A. If the calculated IRR exceeds your target return (hurdle rate) or borrowing rate, you should "invest"; if it falls below, you should "pass."

Q. When does a "#NUM!" error occur in the IRR function?

A. It occurs when the cash flow range does not contain both negative values (investment outflows) and positive values (returns), or when the calculation fails to converge.