ID EN
#Financial

XIRR

Excel Functions

Calculate internal rate of return for irregular cash flows

Syntax

EXCEL
=XIRR(values, dates, [guess])

Arguments

Parameter Description
values Array or reference to cells that contain cash flows.
dates Dates that correspond to cash flows, in any order.
guess [optional] An estimate for expected IRR. Default is 0.1 (10%).

Return Value

Calculated internal rate of return

Details

The XIRR function calculates the internal rate of return for a series of cash flows that occur at irregular intervals. Payments are expressed as negative values and income as positive values. If the first value is a cost or payment, it must be a negative value. Subsequent payments are discounted based on a 365-day year. To calculate the internal rate of return for a series of regular, periodic cash flows, use the IRR function. XIRR is related to the XNPV function. The rate returned by XIRR is the interest rate when XNPV = 0. The XIRR function uses iteration to arrive at a result. Starting with guess (which defaults to 0.1 if not provided) XIRR iterates through a calculation until the result is accurate to 0.000001 percent. If no result is found after 100 tries, XIRR returns the #NUM! error

Examples

Example

In the example shown, dates are in the values are in the range B5:B10, and dates are in the range C5:C10. The formula in cell F4 is:

EXCEL
=XIRR(B5:B10,C5:C10)  // returns .0788

See Also

PV NPV IRR MIRR XNPV