← All functions

MIRR

Quirk found

Category: Financial · Last tested 2026-09-01

Real compatibility results for the MIRR function: executed in Excel for the web, Google Sheets and LibreOffice Calc, with desktop Excel behavior from Microsoft’s official documentation (we do not run desktop Excel — Excel for the web is a different application and is executed separately). Syntax and links to that documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel (desktop)Yes No — documented only n/a
Excel for the web— Yes (recalc, 2026-09-01) Supported, behaves as documented
Google SheetsYes Yes (Drive import, 2026-08-31) Supported, behaves as documented
LibreOffice CalcYes Yes (25.8.7.3, 2026-08-31) Quirk found

LibreOffice version history

We executed the same test cases under each LibreOffice release to show exactly when MIRR’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Quirk found 2026-08-31
24.8.7.2 Quirk found 2026-08-31
25.2.0.3 Quirk found 2026-08-31
25.8.7.3 Quirk found 2026-08-31

Why isn't MIRR working in LibreOffice?

MIRR exists in LibreOffice 25.8.7.3, but it is not a drop-in match for Excel — our executed tests found real behavioral differences (detailed in the test results on this page). If a formula that works in Excel or Google Sheets misbehaves in LibreOffice, compare your usage against the failing cases above before assuming your data is wrong.

Discovered quirks

Executed test cases

Excel for the web (executed 2026-09-01 via OneDrive recalculation)

These values come from Excel for the web, not from desktop Excel. They are two different implementations of the calculation engine, and this run measured only the web one: the corpus was uploaded to OneDrive as .xlsx, recalculated by Excel for the web on open, and downloaded again for readback. Excel for the web is a rolling service with no pinnable version, so the run is identified by its date. Where a value here disagrees with the Expected column — which is Microsoft’s documentation of the desktop product — we cannot tell you whether the web engine diverges from the desktop one or the documentation is wrong about both, because we do not run desktop Excel.

FormulaDescriptionResultExpectedVerdict
=ROUND(MIRR(A1:A6,0.1,0.12),4) Microsoft's documented worked example: 5 years of cash flows, 10% finance rate, 12% reinvestment rate 0.1261 0.1261
Provenance

Microsoft's page publishes this example's result as 12.61% (the live page displays it rounded to 13%). Independently derived from the documented formula MIRR = (-NPV(reinvest, positives)*(1+reinvest)^n / (NPV(finance, negatives)*(1+finance)))^(1/(n-1)) - 1 with n = 6 values: the reinvested inflows are carried forward at 12% and the single -120000 outflow discounted at 10%; the 5th root of the ratio gives 0.12609413 -> 0.1261 at 4 dp

Matched
=ROUND(MIRR(A1:A4,0.1,0.12),4) Same doc example truncated to the first three years of inflows, which is still a net loss -0.048 -0.048
Provenance

Microsoft publishes this example's result as -4.80% (displayed rounded to -5%). Same formula with n = 4 values (-120000, 39000, 30000, 21000): the reinvested inflows do not recover the outflow, so the cube root of the ratio is below 1 -> -0.04804466 -> -0.048 at 4 dp

Matched
=ROUND(MIRR(A1:A6,0.1,0.14),4) Same cash flows with the reinvestment rate raised from 12% to 14% 0.1348 0.1348
Provenance

Microsoft publishes this example's result as 13.48% (displayed rounded to 13%). Raising only the reinvestment rate raises the future value of the positive flows; recomputing the documented formula gives 0.13475911 -> 0.1348 at 4 dp

Matched
=ROUND(MIRR(A1:A4,0.1,0.1),4) A zero cash flow is neither an inflow nor an outflow, so it only contributes to the period count 0.1079 0.1079
Provenance

Excel documents that MIRR ignores text, logical values and empty cells in a reference but INCLUDES cells with the value zero. Zero belongs to neither the positive nor the negative NPV; with finance = reinvest = 0.1, the future value of the inflows is 600*1.1 + 700 = 1360 and the compounded present value of the outflow is -1000, with n = 4 values, so (1360/1000)^(1/3) - 1 = 0.10793165 -> 0.1079

Matched
=MIRR(A1:A3,0.1,0.12) Excel documents #DIV/0! when values contains no negative (or no positive) number #DIV/0! #DIV/0!
Provenance

With no negative cash flow the denominator NPV of the outflows is zero, and Excel documents that MIRR requires at least one positive and one negative value or it returns #DIV/0!

Matched

Google Sheets (executed 2026-08-31 via Drive import)

Google Sheets is a rolling service with no pinnable version, so this run is identified by its date. The corpus was imported to Drive as .xlsx, recalculated by Sheets, and exported back for readback.

FormulaDescriptionResultExpectedVerdict
=ROUND(MIRR(A1:A6,0.1,0.12),4) Microsoft's documented worked example: 5 years of cash flows, 10% finance rate, 12% reinvestment rate 0.1261 0.1261
Provenance

Microsoft's page publishes this example's result as 12.61% (the live page displays it rounded to 13%). Independently derived from the documented formula MIRR = (-NPV(reinvest, positives)*(1+reinvest)^n / (NPV(finance, negatives)*(1+finance)))^(1/(n-1)) - 1 with n = 6 values: the reinvested inflows are carried forward at 12% and the single -120000 outflow discounted at 10%; the 5th root of the ratio gives 0.12609413 -> 0.1261 at 4 dp

Matched
=ROUND(MIRR(A1:A4,0.1,0.12),4) Same doc example truncated to the first three years of inflows, which is still a net loss -0.048 -0.048
Provenance

Microsoft publishes this example's result as -4.80% (displayed rounded to -5%). Same formula with n = 4 values (-120000, 39000, 30000, 21000): the reinvested inflows do not recover the outflow, so the cube root of the ratio is below 1 -> -0.04804466 -> -0.048 at 4 dp

Matched
=ROUND(MIRR(A1:A6,0.1,0.14),4) Same cash flows with the reinvestment rate raised from 12% to 14% 0.1348 0.1348
Provenance

Microsoft publishes this example's result as 13.48% (displayed rounded to 13%). Raising only the reinvestment rate raises the future value of the positive flows; recomputing the documented formula gives 0.13475911 -> 0.1348 at 4 dp

Matched
=ROUND(MIRR(A1:A4,0.1,0.1),4) A zero cash flow is neither an inflow nor an outflow, so it only contributes to the period count 0.1079 0.1079
Provenance

Excel documents that MIRR ignores text, logical values and empty cells in a reference but INCLUDES cells with the value zero. Zero belongs to neither the positive nor the negative NPV; with finance = reinvest = 0.1, the future value of the inflows is 600*1.1 + 700 = 1360 and the compounded present value of the outflow is -1000, with n = 4 values, so (1360/1000)^(1/3) - 1 = 0.10793165 -> 0.1079

Matched
=MIRR(A1:A3,0.1,0.12) Excel documents #DIV/0! when values contains no negative (or no positive) number #DIV/0! #DIV/0!
Provenance

With no negative cash flow the denominator NPV of the outflows is zero, and Excel documents that MIRR requires at least one positive and one negative value or it returns #DIV/0!

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-08-31)

FormulaDescriptionResultExpectedVerdict
=ROUND(MIRR(A1:A6,0.1,0.12),4) Microsoft's documented worked example: 5 years of cash flows, 10% finance rate, 12% reinvestment rate 0.1261 0.1261
Provenance

Microsoft's page publishes this example's result as 12.61% (the live page displays it rounded to 13%). Independently derived from the documented formula MIRR = (-NPV(reinvest, positives)*(1+reinvest)^n / (NPV(finance, negatives)*(1+finance)))^(1/(n-1)) - 1 with n = 6 values: the reinvested inflows are carried forward at 12% and the single -120000 outflow discounted at 10%; the 5th root of the ratio gives 0.12609413 -> 0.1261 at 4 dp

Matched
=ROUND(MIRR(A1:A4,0.1,0.12),4) Same doc example truncated to the first three years of inflows, which is still a net loss -0.048 -0.048
Provenance

Microsoft publishes this example's result as -4.80% (displayed rounded to -5%). Same formula with n = 4 values (-120000, 39000, 30000, 21000): the reinvested inflows do not recover the outflow, so the cube root of the ratio is below 1 -> -0.04804466 -> -0.048 at 4 dp

Matched
=ROUND(MIRR(A1:A6,0.1,0.14),4) Same cash flows with the reinvestment rate raised from 12% to 14% 0.1348 0.1348
Provenance

Microsoft publishes this example's result as 13.48% (displayed rounded to 13%). Raising only the reinvestment rate raises the future value of the positive flows; recomputing the documented formula gives 0.13475911 -> 0.1348 at 4 dp

Matched
=ROUND(MIRR(A1:A4,0.1,0.1),4) A zero cash flow is neither an inflow nor an outflow, so it only contributes to the period count 0.1079 0.1079
Provenance

Excel documents that MIRR ignores text, logical values and empty cells in a reference but INCLUDES cells with the value zero. Zero belongs to neither the positive nor the negative NPV; with finance = reinvest = 0.1, the future value of the inflows is 600*1.1 + 700 = 1360 and the compounded present value of the outflow is -1000, with n = 4 values, so (1360/1000)^(1/3) - 1 = 0.10793165 -> 0.1079

Matched
=MIRR(A1:A3,0.1,0.12) Excel documents #DIV/0! when values contains no negative (or no positive) number #VALUE! #DIV/0!
Provenance

With no negative cash flow the denominator NPV of the outflows is zero, and Excel documents that MIRR requires at least one positive and one negative value or it returns #DIV/0!

Mismatch

Docs & syntax

Where MIRR behaves differently