TBILLEQ
Quirk foundCategory: Financial · Last tested 2026-09-01
Real compatibility results for the TBILLEQ 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 TBILLEQ’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 TBILLEQ working in LibreOffice?
TBILLEQ 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
-
=TBILLEQ(A2,A3,0) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The Remarks publish: "If discount <= 0, TBILLEQ returns the #NUM! error value." Zero is inside the excluded range because the rule uses <=.; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=TBILLEQ(A3,A2,A4) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The Remarks publish: "If settlement > maturity, or if maturity is more than one year after settlement, TBILLEQ returns the #NUM! error value." Passing A3 as settlement and A2 as maturity reverses them.; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=TBILLEQ(A2,A2+400,A4) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The second half of the same Remark. 400 days is unambiguously more than one year, chosen well clear of the 365/366 boundary so the case does not turn on how an engine reads "one year".; 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(TBILLEQ(A2,A3,A4),5) | Microsoft's documented worked example, at the five decimals its description publishes | 0.09415 | 0.09415ProvenanceMicrosoft publishes =TBILLEQ(A2,A3,A4) with the description "The bond equivalent yield, for the Treasury bill using the terms in A2, A3, and A4 (0.09415, or 9.42%)" and a Result cell formatted as "9.42%"; the assertable figure is 0.09415. Settlement 2008-03-31 (serial 39538), maturity 2008-06-01 (serial 39600), discount 9.14%. A CONTRADICTION IN THE PAGE, SETTLED BY ARITHMETIC. The TBILLEQ page publishes its formula as TEXT -- "TBILLEQ is calculated as TBILLEQ = (365 x rate)/(360-(rate x DSM)), where DSM is the number of days between settlement and maturity computed according to the 360 days per year basis" -- but a 360-days-per-year (30/360) count from 2008-03-31 to 2008-06-01 is 61 DAYS, and 61 does not reproduce Microsoft's own published answer. Worked both ways at 50 digits: with the ACTUAL day count of 62, 365*0.0914/(360 - 0.0914*62) = 0.09415149356594301634733, which is the published 0.09415; with the 30/360 count of 61 it is 0.09412721351734614, which would print as 0.09413. The published FIGURE is therefore right and the phrase "computed according to the 360 days per year basis" describes the DENOMINATOR (365/360 scaling), not the day count. All three TBILL* functions in this batch were derived on actual days for the same reason, and each reproduces its published figure exactly. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/tbilleq-function. FETCH NOTE FOR THIS BATCH: batch F recorded every /en-us/office/<name>-function-<guid> URL returning Microsoft's 'Sorry, the page you're looking for can't be found' body; today BOTH paths serve the article again -- the GUID form redirects to /en-us/excel/functions/<slug>-function -- and every page cited in this batch came back complete (217-223 KB) in one or two attempts, with no 87 KB stub responses. Nothing here is sourced from a search snippet or a mirror. |
Matched |
| =ROUND(TBILLEQ(A2,A3,A4),10) | The same example carried to ten decimals | 0.0941514936 | 0.0941514936ProvenanceAsserted at ten places from the derivation: 0.0941514936. This is the case that decides the day-count question empirically -- the 30/360 reading would give 0.0941272135, which differs in the FIFTH decimal and is invisible at the precision Microsoft prints. |
Matched |
| =TBILLEQ(A2,A3,0) | A discount rate of zero, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If discount <= 0, TBILLEQ returns the #NUM! error value." Zero is inside the excluded range because the rule uses <=. |
Matched |
| =TBILLEQ(A3,A2,A4) | The dates reversed, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If settlement > maturity, or if maturity is more than one year after settlement, TBILLEQ returns the #NUM! error value." Passing A3 as settlement and A2 as maturity reverses them. |
Matched |
| =TBILLEQ(A2,A2+400,A4) | A maturity more than a year after settlement, which the page excludes | #NUM! | #NUM!ProvenanceThe second half of the same Remark. 400 days is unambiguously more than one year, chosen well clear of the 365/366 boundary so the case does not turn on how an engine reads "one year". |
Matched |
| =TBILLEQ("not a date",A3,A4) | A non-date settlement argument | #VALUE! | #VALUE!ProvenanceThe Remarks publish: "If settlement or maturity is not a valid date, TBILLEQ 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(TBILLEQ(A2,A3,A4),5) | Microsoft's documented worked example, at the five decimals its description publishes | 0.09415 | 0.09415ProvenanceMicrosoft publishes =TBILLEQ(A2,A3,A4) with the description "The bond equivalent yield, for the Treasury bill using the terms in A2, A3, and A4 (0.09415, or 9.42%)" and a Result cell formatted as "9.42%"; the assertable figure is 0.09415. Settlement 2008-03-31 (serial 39538), maturity 2008-06-01 (serial 39600), discount 9.14%. A CONTRADICTION IN THE PAGE, SETTLED BY ARITHMETIC. The TBILLEQ page publishes its formula as TEXT -- "TBILLEQ is calculated as TBILLEQ = (365 x rate)/(360-(rate x DSM)), where DSM is the number of days between settlement and maturity computed according to the 360 days per year basis" -- but a 360-days-per-year (30/360) count from 2008-03-31 to 2008-06-01 is 61 DAYS, and 61 does not reproduce Microsoft's own published answer. Worked both ways at 50 digits: with the ACTUAL day count of 62, 365*0.0914/(360 - 0.0914*62) = 0.09415149356594301634733, which is the published 0.09415; with the 30/360 count of 61 it is 0.09412721351734614, which would print as 0.09413. The published FIGURE is therefore right and the phrase "computed according to the 360 days per year basis" describes the DENOMINATOR (365/360 scaling), not the day count. All three TBILL* functions in this batch were derived on actual days for the same reason, and each reproduces its published figure exactly. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/tbilleq-function. FETCH NOTE FOR THIS BATCH: batch F recorded every /en-us/office/<name>-function-<guid> URL returning Microsoft's 'Sorry, the page you're looking for can't be found' body; today BOTH paths serve the article again -- the GUID form redirects to /en-us/excel/functions/<slug>-function -- and every page cited in this batch came back complete (217-223 KB) in one or two attempts, with no 87 KB stub responses. Nothing here is sourced from a search snippet or a mirror. |
Matched |
| =ROUND(TBILLEQ(A2,A3,A4),10) | The same example carried to ten decimals | 0.0941514936 | 0.0941514936ProvenanceAsserted at ten places from the derivation: 0.0941514936. This is the case that decides the day-count question empirically -- the 30/360 reading would give 0.0941272135, which differs in the FIFTH decimal and is invisible at the precision Microsoft prints. |
Matched |
| =TBILLEQ(A2,A3,0) | A discount rate of zero, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If discount <= 0, TBILLEQ returns the #NUM! error value." Zero is inside the excluded range because the rule uses <=. |
Matched |
| =TBILLEQ(A3,A2,A4) | The dates reversed, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If settlement > maturity, or if maturity is more than one year after settlement, TBILLEQ returns the #NUM! error value." Passing A3 as settlement and A2 as maturity reverses them. |
Matched |
| =TBILLEQ(A2,A2+400,A4) | A maturity more than a year after settlement, which the page excludes | #NUM! | #NUM!ProvenanceThe second half of the same Remark. 400 days is unambiguously more than one year, chosen well clear of the 365/366 boundary so the case does not turn on how an engine reads "one year". |
Matched |
| =TBILLEQ("not a date",A3,A4) | A non-date settlement argument | #VALUE! | #VALUE!ProvenanceThe Remarks publish: "If settlement or maturity is not a valid date, TBILLEQ returns the #VALUE! error value." |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(TBILLEQ(A2,A3,A4),5) | Microsoft's documented worked example, at the five decimals its description publishes | 0.09415 | 0.09415ProvenanceMicrosoft publishes =TBILLEQ(A2,A3,A4) with the description "The bond equivalent yield, for the Treasury bill using the terms in A2, A3, and A4 (0.09415, or 9.42%)" and a Result cell formatted as "9.42%"; the assertable figure is 0.09415. Settlement 2008-03-31 (serial 39538), maturity 2008-06-01 (serial 39600), discount 9.14%. A CONTRADICTION IN THE PAGE, SETTLED BY ARITHMETIC. The TBILLEQ page publishes its formula as TEXT -- "TBILLEQ is calculated as TBILLEQ = (365 x rate)/(360-(rate x DSM)), where DSM is the number of days between settlement and maturity computed according to the 360 days per year basis" -- but a 360-days-per-year (30/360) count from 2008-03-31 to 2008-06-01 is 61 DAYS, and 61 does not reproduce Microsoft's own published answer. Worked both ways at 50 digits: with the ACTUAL day count of 62, 365*0.0914/(360 - 0.0914*62) = 0.09415149356594301634733, which is the published 0.09415; with the 30/360 count of 61 it is 0.09412721351734614, which would print as 0.09413. The published FIGURE is therefore right and the phrase "computed according to the 360 days per year basis" describes the DENOMINATOR (365/360 scaling), not the day count. All three TBILL* functions in this batch were derived on actual days for the same reason, and each reproduces its published figure exactly. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/tbilleq-function. FETCH NOTE FOR THIS BATCH: batch F recorded every /en-us/office/<name>-function-<guid> URL returning Microsoft's 'Sorry, the page you're looking for can't be found' body; today BOTH paths serve the article again -- the GUID form redirects to /en-us/excel/functions/<slug>-function -- and every page cited in this batch came back complete (217-223 KB) in one or two attempts, with no 87 KB stub responses. Nothing here is sourced from a search snippet or a mirror. |
Matched |
| =ROUND(TBILLEQ(A2,A3,A4),10) | The same example carried to ten decimals | 0.0941514936 | 0.0941514936ProvenanceAsserted at ten places from the derivation: 0.0941514936. This is the case that decides the day-count question empirically -- the 30/360 reading would give 0.0941272135, which differs in the FIFTH decimal and is invisible at the precision Microsoft prints. |
Matched |
| =TBILLEQ(A2,A3,0) | A discount rate of zero, which the page excludes | #VALUE! | #NUM!ProvenanceThe Remarks publish: "If discount <= 0, TBILLEQ returns the #NUM! error value." Zero is inside the excluded range because the rule uses <=. |
Mismatch |
| =TBILLEQ(A3,A2,A4) | The dates reversed, which the page excludes | #VALUE! | #NUM!ProvenanceThe Remarks publish: "If settlement > maturity, or if maturity is more than one year after settlement, TBILLEQ returns the #NUM! error value." Passing A3 as settlement and A2 as maturity reverses them. |
Mismatch |
| =TBILLEQ(A2,A2+400,A4) | A maturity more than a year after settlement, which the page excludes | #VALUE! | #NUM!ProvenanceThe second half of the same Remark. 400 days is unambiguously more than one year, chosen well clear of the 365/366 boundary so the case does not turn on how an engine reads "one year". |
Mismatch |
| =TBILLEQ("not a date",A3,A4) | A non-date settlement argument | #VALUE! | #VALUE!ProvenanceThe Remarks publish: "If settlement or maturity is not a valid date, TBILLEQ returns the #VALUE! error value." |
Matched |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Where TBILLEQ 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.