ReferenceFunctionsFinancial Functions
XIRR
XIRR: Calculates annualized internal rate of return for irregularly dated cash flows.
Summary
The solver uses Newton-Raphson on XNPV(rate, values, dates) = 0 with day-count basis 365.
Remarks
- Output is an annualized rate.
- Cash-flow sign convention requires at least one negative and one positive value.
guessdefaults to0.1and can materially affect convergence.- Non-numeric entries in value/date arrays are ignored; callable inputs return
#CALC!. - Returns
#NUM!for mismatched lengths, insufficient valid points, missing sign change, derivative failure, or non-convergence.
Examples
Example
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
null
Example
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
null
Related functions
FAQ
What data shape does XIRR require?
values and dates must have equal numeric length with at least one positive and one negative cash flow, or #NUM! is returned.
Runtime metadata
Category
Financial
Signature
XIRR(arg1: Any, arg2: Any, arg3…: Number)Arity
min 2, max variadic
Arguments
arg1Any · Scalar
arg2Any · Scalar
arg3Number · Scalar · coercion NumberLenientText
Caps
PURE
Source