ODDLPRICE
Quirk foundCategory: Financial · Last tested 2026-09-01
Real compatibility results for the ODDLPRICE 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 | No | Yes (Drive import, 2026-08-31) | Unsupported (not recognized) |
| 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 ODDLPRICE’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 ODDLPRICE working in LibreOffice?
ODDLPRICE 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.
Why isn’t ODDLPRICE working in Google Sheets?
Google Sheets does not implement ODDLPRICE: we imported the formula into
Sheets on 2026-08-31 and every case came back #NAME?
(unrecognized function). Sheets is a rolling service with no version to pin, so this is a
statement about the service on that date, and Google’s own
function list does not document it either. Rewrite the formula with a documented
Sheets equivalent — see the
Excel ↔ Sheets equivalents table.
Discovered quirks
-
=ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),2) on
Google Sheets returned
#NAME?, but the documented/expected
result is 99.88.
Provenance
Microsoft publishes =ODDLPRICE(A2, A3, A4, A5, A6, A7, A8, A9) = $99.88 for a bond settled 2008-02-07, maturing 2008-06-15, last interest 2007-10-15, 3.75% coupon, 4.05% yield, redemption 100, semiannual, 30/360 basis. DERIVATION, clean-room. Microsoft publishes NO formula for ODDLPRICE -- the page has no 'calculated as follows' section and no equation image at all, which is the single biggest documentation gap in this batch -- and OpenFormula 1.3 section 6.12.33 gives only a parameter glossary. So the price here is obtained by ALGEBRAICALLY INVERTING the closed form Microsoft DOES publish, on the ODDLYIELD page, solving that equation for the price: pr = (redemption + (sum DCi/NLi)*100*rate/f) / (1 + (sum DSCi/NLi)*yld/f) - (sum Ai/NLi)*100*rate/f. For this bond the odd last period runs from the last interest date 2007-10-15 to maturity 2008-06-15 and spans two quasi-coupon periods on the semiannual grid, so on basis 0 the ratios are sum DCi/NLi = 240/180, sum Ai/NLi = 112/180 (2007-10-15 to settlement 2008-02-07) and sum DSCi/NLi = 128/180 (settlement to maturity). With a coupon of 100*0.0375/2 = 1.875 that gives (100 + 2.5)/(1 + (128/180)*0.02025) - 1.1666... = 99.87828601472134... The day counts come from a clean-room implementation of OpenFormula 1.3 section 4.11.7 -- Procedure A for US (NASD) 30/360 with its four order-dependent endpoint adjustments, Procedure B for actual days, Procedure C for European 30/360, and Procedures D/E/F for days-in-year -- written for this batch and used by no engine; the arithmetic is mpmath at 50 digits over exact rational day-count ratios. At two decimals that is 99.88 -- the published figure, reproduced from an inverted formula rather than copied. (Microsoft's own prose on this page says the arguments come from "cells A2:A10" while the formula it prints takes eight arguments from A2:A9; the same off-by-one appears on the ODDLYIELD page. It is a typo in the prose, not in the figure.) Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/oddlprice-function (the /en-us/office/<name>-function-<guid> path was returning Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path serves an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB).; MISMATCH vs expected: expected 99.88, got '#NAME?'
-
=ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),10) on
Google Sheets returned
#NAME?, but the documented/expected
result is 99.8782860147.
Provenance
Two published decimals cannot see a day-count error of a day or two, so the inverted-formula value is asserted at ten places: 99.8782860147.; MISMATCH vs expected: expected 99.8782860147, got '#NAME?'
-
=ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),5) on
Google Sheets returned
#NAME?, but the documented/expected
result is 99.87829.
Provenance
A SECOND VENDOR'S PUBLISHED FIGURE, on a second set of dates. LibreOffice's help (help.libreoffice.org/latest/en-US/text/scalc/01/04060118.html) prints '=ODDLPRICE("1999-02-07";"1999-06-15";"1998-10-15"; 0.0375; 0.0405;100;2;0) returns 99.87829' -- Microsoft's example shifted back exactly nine years, same month-and-day, same rates. Running the clean-room derivation on the 1999 dates gives 99.87828601472134..., identical to the 2008 answer, because every 30/360 day count in the calculation depends only on the month-and-day differences: 99.87829 at five places. Two independent vendors' documentation and one independent derivation agreeing on the same number is stronger evidence than any of the three alone, and this case is here to make that agreement executable.; MISMATCH vs expected: expected 99.87829, got '#NAME?'
-
=ODDLPRICE(A2,A3,A4,A5,-0.0405,A7,A8,A9) on
Google Sheets returned
#NAME?, but the documented/expected
result is #NUM!.
Provenance
Microsoft documents: "If rate < 0 or if yld < 0, ODDLPRICE returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#NAME?'
-
=ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,5) on
Google Sheets returned
#NAME?, but the documented/expected
result is #NUM!.
Provenance
Microsoft documents: "If basis < 0 or if basis > 4, ODDLPRICE returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#NAME?'
-
=ODDLPRICE(A4,A3,A2,A5,A6,A7,A8,A9) on
Google Sheets returned
#NAME?, but the documented/expected
result is #NUM!.
Provenance
Microsoft documents: "The following date condition must be satisfied; otherwise, ODDLPRICE returns the #NUM! error value: maturity > settlement > last_interest." Swapping the two puts settlement (2007-10-15) before the last interest date (2008-02-07).; MISMATCH vs expected: expected '#NUM!', got '#NAME?'
-
=ODDLPRICE("not a date",A3,A4,A5,A6,A7,A8,A9) on
Google Sheets returned
#NAME?, but the documented/expected
result is #VALUE!.
Provenance
Microsoft documents: "If settlement, maturity, or last_interest is not a valid date, ODDLPRICE returns the #VALUE! error value."; MISMATCH vs expected: expected '#VALUE!', got '#NAME?'
-
=ODDLPRICE(A2,A3,A4,A5,-0.0405,A7,A8,A9) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Microsoft documents: "If rate < 0 or if yld < 0, ODDLPRICE returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,5) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Microsoft documents: "If basis < 0 or if basis > 4, ODDLPRICE returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=ODDLPRICE(A4,A3,A2,A5,A6,A7,A8,A9) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
Microsoft documents: "The following date condition must be satisfied; otherwise, ODDLPRICE returns the #NUM! error value: maturity > settlement > last_interest." Swapping the two puts settlement (2007-10-15) before the last interest date (2008-02-07).; 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(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),2) | Microsoft's documented worked example, at the two decimals Microsoft publishes | 99.88 | 99.88ProvenanceMicrosoft publishes =ODDLPRICE(A2, A3, A4, A5, A6, A7, A8, A9) = $99.88 for a bond settled 2008-02-07, maturing 2008-06-15, last interest 2007-10-15, 3.75% coupon, 4.05% yield, redemption 100, semiannual, 30/360 basis. DERIVATION, clean-room. Microsoft publishes NO formula for ODDLPRICE -- the page has no 'calculated as follows' section and no equation image at all, which is the single biggest documentation gap in this batch -- and OpenFormula 1.3 section 6.12.33 gives only a parameter glossary. So the price here is obtained by ALGEBRAICALLY INVERTING the closed form Microsoft DOES publish, on the ODDLYIELD page, solving that equation for the price: pr = (redemption + (sum DCi/NLi)*100*rate/f) / (1 + (sum DSCi/NLi)*yld/f) - (sum Ai/NLi)*100*rate/f. For this bond the odd last period runs from the last interest date 2007-10-15 to maturity 2008-06-15 and spans two quasi-coupon periods on the semiannual grid, so on basis 0 the ratios are sum DCi/NLi = 240/180, sum Ai/NLi = 112/180 (2007-10-15 to settlement 2008-02-07) and sum DSCi/NLi = 128/180 (settlement to maturity). With a coupon of 100*0.0375/2 = 1.875 that gives (100 + 2.5)/(1 + (128/180)*0.02025) - 1.1666... = 99.87828601472134... The day counts come from a clean-room implementation of OpenFormula 1.3 section 4.11.7 -- Procedure A for US (NASD) 30/360 with its four order-dependent endpoint adjustments, Procedure B for actual days, Procedure C for European 30/360, and Procedures D/E/F for days-in-year -- written for this batch and used by no engine; the arithmetic is mpmath at 50 digits over exact rational day-count ratios. At two decimals that is 99.88 -- the published figure, reproduced from an inverted formula rather than copied. (Microsoft's own prose on this page says the arguments come from "cells A2:A10" while the formula it prints takes eight arguments from A2:A9; the same off-by-one appears on the ODDLYIELD page. It is a typo in the prose, not in the figure.) Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/oddlprice-function (the /en-us/office/<name>-function-<guid> path was returning Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path serves an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB). |
Matched |
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),10) | The same example carried to ten decimal places | 99.8782860147 | 99.8782860147ProvenanceTwo published decimals cannot see a day-count error of a day or two, so the inverted-formula value is asserted at ten places: 99.8782860147. |
Matched |
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),5) | LibreOffice's own documented example for the same function, nine years earlier | 99.87829 | 99.87829ProvenanceA SECOND VENDOR'S PUBLISHED FIGURE, on a second set of dates. LibreOffice's help (help.libreoffice.org/latest/en-US/text/scalc/01/04060118.html) prints '=ODDLPRICE("1999-02-07";"1999-06-15";"1998-10-15"; 0.0375; 0.0405;100;2;0) returns 99.87829' -- Microsoft's example shifted back exactly nine years, same month-and-day, same rates. Running the clean-room derivation on the 1999 dates gives 99.87828601472134..., identical to the 2008 answer, because every 30/360 day count in the calculation depends only on the month-and-day differences: 99.87829 at five places. Two independent vendors' documentation and one independent derivation agreeing on the same number is stronger evidence than any of the three alone, and this case is here to make that agreement executable. |
Matched |
| =ODDLPRICE(A2,A3,A4,A5,-0.0405,A7,A8,A9) | A negative yield, which the page excludes | #NUM! | #NUM!ProvenanceMicrosoft documents: "If rate < 0 or if yld < 0, ODDLPRICE returns the #NUM! error value." |
Matched |
| =ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,5) | A basis of 5, one past the documented range | #NUM! | #NUM!ProvenanceMicrosoft documents: "If basis < 0 or if basis > 4, ODDLPRICE returns the #NUM! error value." |
Matched |
| =ODDLPRICE(A4,A3,A2,A5,A6,A7,A8,A9) | Settlement and last_interest swapped | #NUM! | #NUM!ProvenanceMicrosoft documents: "The following date condition must be satisfied; otherwise, ODDLPRICE returns the #NUM! error value: maturity > settlement > last_interest." Swapping the two puts settlement (2007-10-15) before the last interest date (2008-02-07). |
Matched |
| =ODDLPRICE("not a date",A3,A4,A5,A6,A7,A8,A9) | A settlement date that is not a date | #VALUE! | #VALUE!ProvenanceMicrosoft documents: "If settlement, maturity, or last_interest is not a valid date, ODDLPRICE returns the #VALUE! 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(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),2) | Microsoft's documented worked example, at the two decimals Microsoft publishes | #NAME? | 99.88ProvenanceMicrosoft publishes =ODDLPRICE(A2, A3, A4, A5, A6, A7, A8, A9) = $99.88 for a bond settled 2008-02-07, maturing 2008-06-15, last interest 2007-10-15, 3.75% coupon, 4.05% yield, redemption 100, semiannual, 30/360 basis. DERIVATION, clean-room. Microsoft publishes NO formula for ODDLPRICE -- the page has no 'calculated as follows' section and no equation image at all, which is the single biggest documentation gap in this batch -- and OpenFormula 1.3 section 6.12.33 gives only a parameter glossary. So the price here is obtained by ALGEBRAICALLY INVERTING the closed form Microsoft DOES publish, on the ODDLYIELD page, solving that equation for the price: pr = (redemption + (sum DCi/NLi)*100*rate/f) / (1 + (sum DSCi/NLi)*yld/f) - (sum Ai/NLi)*100*rate/f. For this bond the odd last period runs from the last interest date 2007-10-15 to maturity 2008-06-15 and spans two quasi-coupon periods on the semiannual grid, so on basis 0 the ratios are sum DCi/NLi = 240/180, sum Ai/NLi = 112/180 (2007-10-15 to settlement 2008-02-07) and sum DSCi/NLi = 128/180 (settlement to maturity). With a coupon of 100*0.0375/2 = 1.875 that gives (100 + 2.5)/(1 + (128/180)*0.02025) - 1.1666... = 99.87828601472134... The day counts come from a clean-room implementation of OpenFormula 1.3 section 4.11.7 -- Procedure A for US (NASD) 30/360 with its four order-dependent endpoint adjustments, Procedure B for actual days, Procedure C for European 30/360, and Procedures D/E/F for days-in-year -- written for this batch and used by no engine; the arithmetic is mpmath at 50 digits over exact rational day-count ratios. At two decimals that is 99.88 -- the published figure, reproduced from an inverted formula rather than copied. (Microsoft's own prose on this page says the arguments come from "cells A2:A10" while the formula it prints takes eight arguments from A2:A9; the same off-by-one appears on the ODDLYIELD page. It is a typo in the prose, not in the figure.) Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/oddlprice-function (the /en-us/office/<name>-function-<guid> path was returning Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path serves an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB). |
Mismatch |
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),10) | The same example carried to ten decimal places | #NAME? | 99.8782860147ProvenanceTwo published decimals cannot see a day-count error of a day or two, so the inverted-formula value is asserted at ten places: 99.8782860147. |
Mismatch |
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),5) | LibreOffice's own documented example for the same function, nine years earlier | #NAME? | 99.87829ProvenanceA SECOND VENDOR'S PUBLISHED FIGURE, on a second set of dates. LibreOffice's help (help.libreoffice.org/latest/en-US/text/scalc/01/04060118.html) prints '=ODDLPRICE("1999-02-07";"1999-06-15";"1998-10-15"; 0.0375; 0.0405;100;2;0) returns 99.87829' -- Microsoft's example shifted back exactly nine years, same month-and-day, same rates. Running the clean-room derivation on the 1999 dates gives 99.87828601472134..., identical to the 2008 answer, because every 30/360 day count in the calculation depends only on the month-and-day differences: 99.87829 at five places. Two independent vendors' documentation and one independent derivation agreeing on the same number is stronger evidence than any of the three alone, and this case is here to make that agreement executable. |
Mismatch |
| =ODDLPRICE(A2,A3,A4,A5,-0.0405,A7,A8,A9) | A negative yield, which the page excludes | #NAME? | #NUM!ProvenanceMicrosoft documents: "If rate < 0 or if yld < 0, ODDLPRICE returns the #NUM! error value." |
Mismatch |
| =ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,5) | A basis of 5, one past the documented range | #NAME? | #NUM!ProvenanceMicrosoft documents: "If basis < 0 or if basis > 4, ODDLPRICE returns the #NUM! error value." |
Mismatch |
| =ODDLPRICE(A4,A3,A2,A5,A6,A7,A8,A9) | Settlement and last_interest swapped | #NAME? | #NUM!ProvenanceMicrosoft documents: "The following date condition must be satisfied; otherwise, ODDLPRICE returns the #NUM! error value: maturity > settlement > last_interest." Swapping the two puts settlement (2007-10-15) before the last interest date (2008-02-07). |
Mismatch |
| =ODDLPRICE("not a date",A3,A4,A5,A6,A7,A8,A9) | A settlement date that is not a date | #NAME? | #VALUE!ProvenanceMicrosoft documents: "If settlement, maturity, or last_interest is not a valid date, ODDLPRICE returns the #VALUE! error value." |
Mismatch |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),2) | Microsoft's documented worked example, at the two decimals Microsoft publishes | 99.88 | 99.88ProvenanceMicrosoft publishes =ODDLPRICE(A2, A3, A4, A5, A6, A7, A8, A9) = $99.88 for a bond settled 2008-02-07, maturing 2008-06-15, last interest 2007-10-15, 3.75% coupon, 4.05% yield, redemption 100, semiannual, 30/360 basis. DERIVATION, clean-room. Microsoft publishes NO formula for ODDLPRICE -- the page has no 'calculated as follows' section and no equation image at all, which is the single biggest documentation gap in this batch -- and OpenFormula 1.3 section 6.12.33 gives only a parameter glossary. So the price here is obtained by ALGEBRAICALLY INVERTING the closed form Microsoft DOES publish, on the ODDLYIELD page, solving that equation for the price: pr = (redemption + (sum DCi/NLi)*100*rate/f) / (1 + (sum DSCi/NLi)*yld/f) - (sum Ai/NLi)*100*rate/f. For this bond the odd last period runs from the last interest date 2007-10-15 to maturity 2008-06-15 and spans two quasi-coupon periods on the semiannual grid, so on basis 0 the ratios are sum DCi/NLi = 240/180, sum Ai/NLi = 112/180 (2007-10-15 to settlement 2008-02-07) and sum DSCi/NLi = 128/180 (settlement to maturity). With a coupon of 100*0.0375/2 = 1.875 that gives (100 + 2.5)/(1 + (128/180)*0.02025) - 1.1666... = 99.87828601472134... The day counts come from a clean-room implementation of OpenFormula 1.3 section 4.11.7 -- Procedure A for US (NASD) 30/360 with its four order-dependent endpoint adjustments, Procedure B for actual days, Procedure C for European 30/360, and Procedures D/E/F for days-in-year -- written for this batch and used by no engine; the arithmetic is mpmath at 50 digits over exact rational day-count ratios. At two decimals that is 99.88 -- the published figure, reproduced from an inverted formula rather than copied. (Microsoft's own prose on this page says the arguments come from "cells A2:A10" while the formula it prints takes eight arguments from A2:A9; the same off-by-one appears on the ODDLYIELD page. It is a typo in the prose, not in the figure.) Microsoft's page was re-read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/oddlprice-function (the /en-us/office/<name>-function-<guid> path was returning Microsoft's 'Sorry, the page you're looking for can't be found' body throughout this batch, and the working path serves an 87 KB stub about half the time, so pages were fetched with retries until the payload exceeded 150 KB). |
Matched |
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),10) | The same example carried to ten decimal places | 99.8782860147 | 99.8782860147ProvenanceTwo published decimals cannot see a day-count error of a day or two, so the inverted-formula value is asserted at ten places: 99.8782860147. |
Matched |
| =ROUND(ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,A9),5) | LibreOffice's own documented example for the same function, nine years earlier | 99.87829 | 99.87829ProvenanceA SECOND VENDOR'S PUBLISHED FIGURE, on a second set of dates. LibreOffice's help (help.libreoffice.org/latest/en-US/text/scalc/01/04060118.html) prints '=ODDLPRICE("1999-02-07";"1999-06-15";"1998-10-15"; 0.0375; 0.0405;100;2;0) returns 99.87829' -- Microsoft's example shifted back exactly nine years, same month-and-day, same rates. Running the clean-room derivation on the 1999 dates gives 99.87828601472134..., identical to the 2008 answer, because every 30/360 day count in the calculation depends only on the month-and-day differences: 99.87829 at five places. Two independent vendors' documentation and one independent derivation agreeing on the same number is stronger evidence than any of the three alone, and this case is here to make that agreement executable. |
Matched |
| =ODDLPRICE(A2,A3,A4,A5,-0.0405,A7,A8,A9) | A negative yield, which the page excludes | #VALUE! | #NUM!ProvenanceMicrosoft documents: "If rate < 0 or if yld < 0, ODDLPRICE returns the #NUM! error value." |
Mismatch |
| =ODDLPRICE(A2,A3,A4,A5,A6,A7,A8,5) | A basis of 5, one past the documented range | #VALUE! | #NUM!ProvenanceMicrosoft documents: "If basis < 0 or if basis > 4, ODDLPRICE returns the #NUM! error value." |
Mismatch |
| =ODDLPRICE(A4,A3,A2,A5,A6,A7,A8,A9) | Settlement and last_interest swapped | #VALUE! | #NUM!ProvenanceMicrosoft documents: "The following date condition must be satisfied; otherwise, ODDLPRICE returns the #NUM! error value: maturity > settlement > last_interest." Swapping the two puts settlement (2007-10-15) before the last interest date (2008-02-07). |
Mismatch |
| =ODDLPRICE("not a date",A3,A4,A5,A6,A7,A8,A9) | A settlement date that is not a date | #VALUE! | #VALUE!ProvenanceMicrosoft documents: "If settlement, maturity, or last_interest is not a valid date, ODDLPRICE returns the #VALUE! error value." |
Matched |
Docs & syntax
- Excel (desktop): official documentation
- LibreOffice Calc: official documentation
Where ODDLPRICE 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. - When the documentation is wrong: 29 vendor doc defects found by execution
Independent derivation across 586 executed functions found 29 places where a vendor's own page is contradicted by its own inputs, its own table, or the live engine: 23 Microsoft, 5 Google, 1 LibreOffice. Includes T.INV.2T's doubly-wrong Remark, DISC's stale figure, ISDATE's page against the live engine, and RAWSUBTRACT's help against LibreOffice's own result.