1. Home
  2. Functions
  3. Financial
  4. XIRR

XIRR function

Returns the internal rate of return of cash flows that happen on given dates.

Syntax

=XIRR(values, dates, [guess])

Arguments

ArgumentRequiredDescription
valuesRequiredThe cash flows, with at least one payment and one receipt
datesRequiredThe dates of the cash flows (the first is the start)
guessOptionalA first guess for the rate (10% when left out)

How to use XIRR

XIRR takes 2 required arguments and 1 optional argument. Type =XIRR( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=XIRR(A1:A5, B1:B5)Result 0.373362534
Data in the sheet
AB
1-1000039448
2275039508
3425039751
4325039859
5275039904

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.