XIRR

returns internal rate for irregular cash flows · from excel · excel: not yet compared · sheets: not yet compared

signature

XIRR(values, dates, [guess])

returns: number

argumentrequired
values required
dates required
guess optional

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

KL
1 -1000002026-01-01
2 300002026-06-01
3 400002026-12-01
fx =XIRR(K1:K3, L1:L3) -0.3926316839764362

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#VALUE! =XIRR(A1:A3, DATE(2026,1,15))

related

  • ACCRINT accrued interest for a security paying periodic interest
  • ACCRINTM accrued interest for a security paying at maturity
  • AMORDEGRC depreciation per period, French accounting, degressive
  • AMORLINC depreciation per period, French accounting, linear
  • COUPDAYBS days from coupon period start to settlement
  • COUPDAYS days in the coupon period containing settlement