ExcelFlux

XIRR function

the internal rate of return for a schedule of cash flows that is not necessarily periodic.

Financial

Where can you use it?

Budgeting, treasury and finance teams. When reviewing a scenario with cash flows, payment periods and rate assumptions, compare the input and output units in the example.

Scenario in the workbook

Find the rate that sets the dated net present value to zero. The guess only initializes the solution.

A worked example from the workbook

RowABC
6InputCash flowDate serial
70.1-10046023
80.15046388
90.214446753
Record 1
=XIRR($B$7:$B$9,$C$7:$C$9,A7)

Expected result0.2

See the inputs and instructions for all 3 examples

Syntax

XIRR(values, dates, [guess])

Copyable formulas

English Excel · en-US
=XIRR($B$7:$B$9,$C$7:$C$9,A7)
Turkish Excel · tr-TR
=AİÇVERİMORANI($B$7:$B$9;$C$7:$C$9;A7)

Worked examples

Find the rate that sets the dated net present value to zero. The guess only initializes the solution.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B C
6 Input Cash flow Date serial
7 0.1 -100 46023
8 0.15 0 46388
9 0.2 144 46753
Case Formula Expected result
Record 1 =XIRR($B$7:$B$9,$C$7:$C$9,A7) 0.2
Record 2 =XIRR($B$7:$B$9,$C$7:$C$9,A8) 0.2
Record 3 =XIRR($B$7:$B$9,$C$7:$C$9,A9) 0.2
Microsoft Excel reference