Contact

XIRR in Excel: Find an Annualized Return for Dated Cash Flows

Financial Intermediate Microsoft Excel

Use Excel XIRR for irregular dates, verify the XNPV zero equation and understand the starting date, 365-day convention and convergence limits.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: for −1000 on January 1, 2026, 400 on July 2, 2026 and 700 on January 1, 2027, XIRR has independent expected annualized rate 12.4176830749%.

Syntax and the dated-return model

=XIRR(values, dates, [guess])

Values and dates are required matching sequences. Guess is optional and defaults to 0.1, or 10%, according to Microsoft. It initializes the numerical search; it is not an imposed financing or reinvestment rate.

The values must include at least one positive and one negative cash flow. Dates need not be equally spaced. The first date is the starting point, and no later listed date may precede it. Keep amount/date pairs aligned if sorting the schedule.

The result is annualized using actual day offsets divided by 365. It is not a rate per worksheet row or a monthly rate merely because some payments happen monthly.

Example 1: build the irregular schedule

Put −1000, 400 and 700 in A2:A4. Put =DATE(2026,1,1), =DATE(2026,7,2) and =DATE(2027,1,1) in B2:B4.

Enter =XIRR(A2:A4,B2:B4) in E2. Independent annualized rate is 0.1241768307, or approximately 12.41768307%.

The day offsets are 0, 182 and 365. The middle receipt is not assumed to occur at an equal periodic spacing merely because it occupies the middle row. This is the key distinction from IRR’s regular-interval model.

Example 2: verify the defining XNPV equation

Use =XNPV(E2,A2:A4,B2:B4) in E3. At the independent root, its mathematical target is zero within a numerical tolerance.

For a term-by-term check, enter =A2/(1+$E$2)^((B2-$B$2)/365) in C2 and fill down. The sum of C2:C4 targets the same zero.

Use E2’s full stored result, not a rounded 12.42% display. Re-entering a rounded rate changes the discounted sum and may create a visible residual even when the underlying root was correctly calculated.

Advanced application: compare a simple 365-day case

For only −1000 followed 365 days later by 1100, the independent XIRR is exactly 10%. The equation is −1000+1100/(1+r)=0.

If the same amounts instead span January 1, 2028 to January 1, 2029, the gap is 366 days. The independent annualized rate becomes =1.1^(365/366)-1, slightly below 10%. The 365-day denominator remains fixed even across a leap year.

This explains why an annual periodic IRR and a dated XIRR need not match for dates that appear to be one calendar year apart. Check the actual day count before treating a small difference as a software error.

Advanced application: inspect root and guess sensitivity

Cash-flow sequences with multiple sign changes can have more than one mathematical rate solving the zero equation. A starting guess can affect a numerical search, but it does not certify uniqueness or select a universally preferable interpretation.

For dated flows −100, 230 and −132 at offsets 0, 365 and 730 days, both 10% and 20% make the dated discounted sum zero. These are the same two mathematical roots as the corresponding periodic example because the offsets are exact multiples of 365.

This guide does not claim which root Excel returns for a particular guess. Always verify a result against XNPV and examine the cash-flow structure rather than relying only on a displayed percentage.

Reproduce the official schedule

Use −10000 on January 1, 2008; 2750 on March 1, 2008; 4250 on October 30, 2008; 3250 on February 15, 2009; and 2750 on April 1, 2009.

The independent root is approximately 37.3362533519%, consistent with Microsoft’s displayed 37.34%. Its more detailed prose value differs in the last few digits; this guide reports its independently calculated mathematical root rather than claiming identical native precision.

Errors and convergence limits

Microsoft documents #NUM! for missing either sign, dates before the starting date or mismatched values/date counts. Invalid dates produce documented #VALUE!. Date numbers are truncated to integers; examples use DATE values without time fractions.

The reference describes convergence within 0.000001 percent and #NUM! if no working result is found after 100 tries. Those are documentation statements, not a measured guarantee for every schedule.

Check data alignment and signs before changing guess. The return is a model-based arithmetic result, not an investment recommendation. Native coercions, endpoint behavior and extreme or nonconvergent schedules were not executed.

Availability and version history

  • Current documentation: the dedicated Microsoft reference lists Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac.
  • Introduced: the first introduction version/build is not established by the dedicated reference used here.
  • Last functioning version: unknown; a current help listing is not a last-working-build test.
  • Evidence checked: October 15, 2026. Official documentation was freshly retrieved; examples were independently calculated. No native Excel, Mac or web-client execution was performed.

References and verification

Examples use English function names and comma separators. Expected numbers are rounded independent mathematical calculations; documented error expectations are labeled as such. They are not captured Excel output. All illustrative data and policies are fictional.