ACCRINTM
Quirk foundCategory: Financial · Last tested 2026-09-01
Real compatibility results for the ACCRINTM 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
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel (desktop) | Yes | No — documented only | n/a |
| Excel for the web | — | Yes (recalc, 2026-09-01) | Supported, behaves as documented |
| Google Sheets | Yes | Yes (Drive import, 2026-08-31) | Supported, behaves as documented |
| LibreOffice Calc | Yes | 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 ACCRINTM’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 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 ACCRINTM working in LibreOffice?
ACCRINTM 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
-
=ACCRINTM(A2,A3,0,A5,A6) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Excel documents: "If rate <= 0 or if par <= 0, ACCRINTM returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=ACCRINTM(A2,A3,A4,A5,5) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Excel documents: "If basis < 0 or if basis > 4, ACCRINTM returns the #NUM! error value." The documented basis table stops at 4 (European 30/360); MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=ACCRINTM(A3,A2,A4,A5,A6) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Excel documents: "If issue >= settlement, ACCRINTM returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
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.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(ACCRINTM(A2,A3,A4,A5,A6),8) | Microsoft's documented worked example: issued 2008-04-01, matures 2008-06-15, 10% coupon on 1000 par, Actual/365 basis | 20.54794521 | 20.54794521ProvenanceMicrosoft's page publishes this example's result as 20.54794521. Independently derived from the documented formula ACCRINTM = par * rate * A/D: serial 39539 = 2008-04-01 and 39614 = 2008-06-15, so on basis 3 (Actual/365) A = 29 + 31 + 15 = 75 actual days and D = 365, giving 1000*0.1*75/365 = 20.547945205 -> 20.54794521 at 8 dp |
Matched |
| =ACCRINTM(A2,A3,0,A5,A6) | A coupon rate of zero is outside the documented domain | #NUM! | #NUM!ProvenanceExcel documents: "If rate <= 0 or if par <= 0, ACCRINTM returns the #NUM! error value." |
Matched |
| =ACCRINTM(A2,A3,A4,A5,5) | Basis 5 is above the documented 0-4 range | #NUM! | #NUM!ProvenanceExcel documents: "If basis < 0 or if basis > 4, ACCRINTM returns the #NUM! error value." The documented basis table stops at 4 (European 30/360) |
Matched |
| =ACCRINTM(A3,A2,A4,A5,A6) | Issue date later than the maturity date (arguments swapped) | #NUM! | #NUM!ProvenanceExcel documents: "If issue >= settlement, ACCRINTM returns the #NUM! error value." |
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.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(ACCRINTM(A2,A3,A4,A5,A6),8) | Microsoft's documented worked example: issued 2008-04-01, matures 2008-06-15, 10% coupon on 1000 par, Actual/365 basis | 20.54794521 | 20.54794521ProvenanceMicrosoft's page publishes this example's result as 20.54794521. Independently derived from the documented formula ACCRINTM = par * rate * A/D: serial 39539 = 2008-04-01 and 39614 = 2008-06-15, so on basis 3 (Actual/365) A = 29 + 31 + 15 = 75 actual days and D = 365, giving 1000*0.1*75/365 = 20.547945205 -> 20.54794521 at 8 dp |
Matched |
| =ACCRINTM(A2,A3,0,A5,A6) | A coupon rate of zero is outside the documented domain | #NUM! | #NUM!ProvenanceExcel documents: "If rate <= 0 or if par <= 0, ACCRINTM returns the #NUM! error value." |
Matched |
| =ACCRINTM(A2,A3,A4,A5,5) | Basis 5 is above the documented 0-4 range | #NUM! | #NUM!ProvenanceExcel documents: "If basis < 0 or if basis > 4, ACCRINTM returns the #NUM! error value." The documented basis table stops at 4 (European 30/360) |
Matched |
| =ACCRINTM(A3,A2,A4,A5,A6) | Issue date later than the maturity date (arguments swapped) | #NUM! | #NUM!ProvenanceExcel documents: "If issue >= settlement, ACCRINTM returns the #NUM! error value." |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(ACCRINTM(A2,A3,A4,A5,A6),8) | Microsoft's documented worked example: issued 2008-04-01, matures 2008-06-15, 10% coupon on 1000 par, Actual/365 basis | 20.54794521 | 20.54794521ProvenanceMicrosoft's page publishes this example's result as 20.54794521. Independently derived from the documented formula ACCRINTM = par * rate * A/D: serial 39539 = 2008-04-01 and 39614 = 2008-06-15, so on basis 3 (Actual/365) A = 29 + 31 + 15 = 75 actual days and D = 365, giving 1000*0.1*75/365 = 20.547945205 -> 20.54794521 at 8 dp |
Matched |
| =ACCRINTM(A2,A3,0,A5,A6) | A coupon rate of zero is outside the documented domain | #VALUE! | #NUM!ProvenanceExcel documents: "If rate <= 0 or if par <= 0, ACCRINTM returns the #NUM! error value." |
Mismatch |
| =ACCRINTM(A2,A3,A4,A5,5) | Basis 5 is above the documented 0-4 range | #VALUE! | #NUM!ProvenanceExcel documents: "If basis < 0 or if basis > 4, ACCRINTM returns the #NUM! error value." The documented basis table stops at 4 (European 30/360) |
Mismatch |
| =ACCRINTM(A3,A2,A4,A5,A6) | Issue date later than the maturity date (arguments swapped) | #VALUE! | #NUM!ProvenanceExcel documents: "If issue >= settlement, ACCRINTM returns the #NUM! error value." |
Mismatch |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Where ACCRINTM behaves differently
- Bond and treasury functions after a migration: what actually breaks
Executed across 26 fixed-income functions and 161 cases: ODDFPRICE and ODDFYIELD are literal stubs in LibreOffice, TBILLPRICE prices a two-year bill, INTRATE's default basis loses a day, and MDURATION is wrong on actual/actual. 83 of 84 documented #NUM! cases arrive as #VALUE!. Google Sheets matched 127 of 161.