T.INV.2T
Quirk foundCategory: Statistical · Last tested 2026-09-01
Real compatibility results for the T.INV.2T 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 T.INV.2T’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 T.INV.2T working in LibreOffice?
T.INV.2T 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
-
=T.INV.2T(0,60) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The Remarks publish: "If probability <= 0 or if probability > 1, T.INV.2T returns the #NUM! error value."; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=T.INV.2T(0.5,0) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The Remarks publish: "If deg_freedom < 1, T.INV.2T 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(T.INV.2T(A2,A3),6) | Microsoft's documented worked example, at the six decimals its Result column publishes | 0.606533 | 0.606533ProvenanceMicrosoft publishes =T.INV.2T(A2,A3) with Result 0.606533 for A2 = 0.546449 and A3 = 60, and its Description column gives the same value to nine places as 0.606533076. DERIVATION: the two-tailed inverse solves 2*(1 - F(t)) = p, root-found on the incomplete-beta CDF and independently on a numerically integrated t density, giving 0.6065330758257550412791 at 50 digits -- 0.606533 at six places and 0.606533076 at nine, matching both of Microsoft's printings. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/t-inv-2t-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(T.INV.2T(A2,A3),12) | The same example carried to twelve decimals | 0.606533075826 | 0.606533075826ProvenanceAsserted at twelve places from the derivation: 0.606533075826. |
Matched |
| =ROUND(T.INV.2T(0.05,10),9) | The figure Microsoft's Remarks publish for a probability of 0.05 at 10 degrees of freedom, which is a typo | 2.228138852 | 2.228138852ProvenanceBOTH FIGURES IN MICROSOFT'S REMARK ARE WRONG, AND THE SECOND ONE WAS CAUGHT BY THE ENGINE RATHER THAN BY THE DERIVATION. The paragraph -- identical on the T.INV.2T page and the TINV page -- publishes: "For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value ... TINV(2*0.05,10), which returns 1.812462." FIGURE ONE, 2.28139, IS A TRANSPOSITION: the true value is 2.228138851986274748395, i.e. 2.228139 -- the digits are right and their order is not. FIGURE TWO, 1.812462, IS A LAST-DIGIT ROUNDING ERROR: the true value is 1.812461122811676413626, which correctly rounded to six places is 1.812461, not 1.812462. This corpus originally asserted Microsoft's 1.812462 -- the derivation had been done but the six-place rounding was copied from the page instead of taken from the derived digits -- and ALL FOUR LibreOffice builds returned 1.812461. The engine was right and the citation was wrong; the case now asserts the derived value and this note records why it changed. Every figure here was checked three independent ways: a root find on the regularized-incomplete-beta t CDF, a root find on a NUMERICALLY INTEGRATED t density sharing no code with the first, and scipy.stats.t.ppf -- all agreeing to double precision. The sanity check settles figure one from the other direction too: T.DIST.2T(2.28139, 10) is 0.045678, not 0.05, while T.DIST.2T(2.228139, 10) is 0.0500000 to six places. This case asserts the DERIVED 2.228138852 at nine places, not the published 2.28139. Had the published figure been copied, every engine on earth would have been recorded as diverging from Excel here, and the divergence would have been ours. |
Matched |
| =ROUND(T.INV.2T(2*0.05,10),6) | The second figure in the same Remark, which is also wrong -- by a last-digit rounding error rather than a transposition | 1.812461 | 1.812461ProvenanceBOTH FIGURES IN MICROSOFT'S REMARK ARE WRONG, AND THE SECOND ONE WAS CAUGHT BY THE ENGINE RATHER THAN BY THE DERIVATION. The paragraph -- identical on the T.INV.2T page and the TINV page -- publishes: "For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value ... TINV(2*0.05,10), which returns 1.812462." FIGURE ONE, 2.28139, IS A TRANSPOSITION: the true value is 2.228138851986274748395, i.e. 2.228139 -- the digits are right and their order is not. FIGURE TWO, 1.812462, IS A LAST-DIGIT ROUNDING ERROR: the true value is 1.812461122811676413626, which correctly rounded to six places is 1.812461, not 1.812462. This corpus originally asserted Microsoft's 1.812462 -- the derivation had been done but the six-place rounding was copied from the page instead of taken from the derived digits -- and ALL FOUR LibreOffice builds returned 1.812461. The engine was right and the citation was wrong; the case now asserts the derived value and this note records why it changed. Every figure here was checked three independent ways: a root find on the regularized-incomplete-beta t CDF, a root find on a NUMERICALLY INTEGRATED t density sharing no code with the first, and scipy.stats.t.ppf -- all agreeing to double precision. The sanity check settles figure one from the other direction too: T.DIST.2T(2.28139, 10) is 0.045678, not 0.05, while T.DIST.2T(2.228139, 10) is 0.0500000 to six places. This case asserts the DERIVED 1.812461 at six places. It is the pair with the 2.228139 case above that shows the paragraph to be unreliable as a whole rather than carrying one isolated typo. |
Matched |
| =ROUND(T.DIST.2T(T.INV.2T(0.2,15),15),12) | The two-tailed inverse fed back through the two-tailed distribution | 0.2 | 0.2ProvenanceT.DIST.2T(T.INV.2T(p, v), v) = p by definition. A structural round trip with no derived constant, checking the engine's own pair against each other. NOTE ON MICROSOFT'S OWN WORDING: the T.INV.2T page states this relationship as "T.DIST.2T(x, deg_freedom, 2) = probability" -- a THREE-argument call, when the T.DIST.2T page's syntax line publishes exactly two arguments, T.DIST.2T(x,deg_freedom). The stray third argument is left over from the legacy TDIST(x,deg_freedom,tails) form. Recorded as published; the formula under test uses the two-argument syntax the T.DIST.2T page actually documents. |
Matched |
| =T.INV.2T(0,60) | A probability of zero, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If probability <= 0 or if probability > 1, T.INV.2T returns the #NUM! error value." |
Matched |
| =T.INV.2T(0.5,0) | Zero degrees of freedom, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If deg_freedom < 1, T.INV.2T 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(T.INV.2T(A2,A3),6) | Microsoft's documented worked example, at the six decimals its Result column publishes | 0.606533 | 0.606533ProvenanceMicrosoft publishes =T.INV.2T(A2,A3) with Result 0.606533 for A2 = 0.546449 and A3 = 60, and its Description column gives the same value to nine places as 0.606533076. DERIVATION: the two-tailed inverse solves 2*(1 - F(t)) = p, root-found on the incomplete-beta CDF and independently on a numerically integrated t density, giving 0.6065330758257550412791 at 50 digits -- 0.606533 at six places and 0.606533076 at nine, matching both of Microsoft's printings. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/t-inv-2t-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(T.INV.2T(A2,A3),12) | The same example carried to twelve decimals | 0.6065330758 | 0.606533075826ProvenanceAsserted at twelve places from the derivation: 0.606533075826. |
Matched |
| =ROUND(T.INV.2T(0.05,10),9) | The figure Microsoft's Remarks publish for a probability of 0.05 at 10 degrees of freedom, which is a typo | 2.228138852 | 2.228138852ProvenanceBOTH FIGURES IN MICROSOFT'S REMARK ARE WRONG, AND THE SECOND ONE WAS CAUGHT BY THE ENGINE RATHER THAN BY THE DERIVATION. The paragraph -- identical on the T.INV.2T page and the TINV page -- publishes: "For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value ... TINV(2*0.05,10), which returns 1.812462." FIGURE ONE, 2.28139, IS A TRANSPOSITION: the true value is 2.228138851986274748395, i.e. 2.228139 -- the digits are right and their order is not. FIGURE TWO, 1.812462, IS A LAST-DIGIT ROUNDING ERROR: the true value is 1.812461122811676413626, which correctly rounded to six places is 1.812461, not 1.812462. This corpus originally asserted Microsoft's 1.812462 -- the derivation had been done but the six-place rounding was copied from the page instead of taken from the derived digits -- and ALL FOUR LibreOffice builds returned 1.812461. The engine was right and the citation was wrong; the case now asserts the derived value and this note records why it changed. Every figure here was checked three independent ways: a root find on the regularized-incomplete-beta t CDF, a root find on a NUMERICALLY INTEGRATED t density sharing no code with the first, and scipy.stats.t.ppf -- all agreeing to double precision. The sanity check settles figure one from the other direction too: T.DIST.2T(2.28139, 10) is 0.045678, not 0.05, while T.DIST.2T(2.228139, 10) is 0.0500000 to six places. This case asserts the DERIVED 2.228138852 at nine places, not the published 2.28139. Had the published figure been copied, every engine on earth would have been recorded as diverging from Excel here, and the divergence would have been ours. |
Matched |
| =ROUND(T.INV.2T(2*0.05,10),6) | The second figure in the same Remark, which is also wrong -- by a last-digit rounding error rather than a transposition | 1.812461 | 1.812461ProvenanceBOTH FIGURES IN MICROSOFT'S REMARK ARE WRONG, AND THE SECOND ONE WAS CAUGHT BY THE ENGINE RATHER THAN BY THE DERIVATION. The paragraph -- identical on the T.INV.2T page and the TINV page -- publishes: "For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value ... TINV(2*0.05,10), which returns 1.812462." FIGURE ONE, 2.28139, IS A TRANSPOSITION: the true value is 2.228138851986274748395, i.e. 2.228139 -- the digits are right and their order is not. FIGURE TWO, 1.812462, IS A LAST-DIGIT ROUNDING ERROR: the true value is 1.812461122811676413626, which correctly rounded to six places is 1.812461, not 1.812462. This corpus originally asserted Microsoft's 1.812462 -- the derivation had been done but the six-place rounding was copied from the page instead of taken from the derived digits -- and ALL FOUR LibreOffice builds returned 1.812461. The engine was right and the citation was wrong; the case now asserts the derived value and this note records why it changed. Every figure here was checked three independent ways: a root find on the regularized-incomplete-beta t CDF, a root find on a NUMERICALLY INTEGRATED t density sharing no code with the first, and scipy.stats.t.ppf -- all agreeing to double precision. The sanity check settles figure one from the other direction too: T.DIST.2T(2.28139, 10) is 0.045678, not 0.05, while T.DIST.2T(2.228139, 10) is 0.0500000 to six places. This case asserts the DERIVED 1.812461 at six places. It is the pair with the 2.228139 case above that shows the paragraph to be unreliable as a whole rather than carrying one isolated typo. |
Matched |
| =ROUND(T.DIST.2T(T.INV.2T(0.2,15),15),12) | The two-tailed inverse fed back through the two-tailed distribution | 0.2 | 0.2ProvenanceT.DIST.2T(T.INV.2T(p, v), v) = p by definition. A structural round trip with no derived constant, checking the engine's own pair against each other. NOTE ON MICROSOFT'S OWN WORDING: the T.INV.2T page states this relationship as "T.DIST.2T(x, deg_freedom, 2) = probability" -- a THREE-argument call, when the T.DIST.2T page's syntax line publishes exactly two arguments, T.DIST.2T(x,deg_freedom). The stray third argument is left over from the legacy TDIST(x,deg_freedom,tails) form. Recorded as published; the formula under test uses the two-argument syntax the T.DIST.2T page actually documents. |
Matched |
| =T.INV.2T(0,60) | A probability of zero, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If probability <= 0 or if probability > 1, T.INV.2T returns the #NUM! error value." |
Matched |
| =T.INV.2T(0.5,0) | Zero degrees of freedom, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If deg_freedom < 1, T.INV.2T returns the #NUM! error value." |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(T.INV.2T(A2,A3),6) | Microsoft's documented worked example, at the six decimals its Result column publishes | 0.606533 | 0.606533ProvenanceMicrosoft publishes =T.INV.2T(A2,A3) with Result 0.606533 for A2 = 0.546449 and A3 = 60, and its Description column gives the same value to nine places as 0.606533076. DERIVATION: the two-tailed inverse solves 2*(1 - F(t)) = p, root-found on the incomplete-beta CDF and independently on a numerically integrated t density, giving 0.6065330758257550412791 at 50 digits -- 0.606533 at six places and 0.606533076 at nine, matching both of Microsoft's printings. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/t-inv-2t-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(T.INV.2T(A2,A3),12) | The same example carried to twelve decimals | 0.606533075826 | 0.606533075826ProvenanceAsserted at twelve places from the derivation: 0.606533075826. |
Matched |
| =ROUND(T.INV.2T(0.05,10),9) | The figure Microsoft's Remarks publish for a probability of 0.05 at 10 degrees of freedom, which is a typo | 2.228138852 | 2.228138852ProvenanceBOTH FIGURES IN MICROSOFT'S REMARK ARE WRONG, AND THE SECOND ONE WAS CAUGHT BY THE ENGINE RATHER THAN BY THE DERIVATION. The paragraph -- identical on the T.INV.2T page and the TINV page -- publishes: "For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value ... TINV(2*0.05,10), which returns 1.812462." FIGURE ONE, 2.28139, IS A TRANSPOSITION: the true value is 2.228138851986274748395, i.e. 2.228139 -- the digits are right and their order is not. FIGURE TWO, 1.812462, IS A LAST-DIGIT ROUNDING ERROR: the true value is 1.812461122811676413626, which correctly rounded to six places is 1.812461, not 1.812462. This corpus originally asserted Microsoft's 1.812462 -- the derivation had been done but the six-place rounding was copied from the page instead of taken from the derived digits -- and ALL FOUR LibreOffice builds returned 1.812461. The engine was right and the citation was wrong; the case now asserts the derived value and this note records why it changed. Every figure here was checked three independent ways: a root find on the regularized-incomplete-beta t CDF, a root find on a NUMERICALLY INTEGRATED t density sharing no code with the first, and scipy.stats.t.ppf -- all agreeing to double precision. The sanity check settles figure one from the other direction too: T.DIST.2T(2.28139, 10) is 0.045678, not 0.05, while T.DIST.2T(2.228139, 10) is 0.0500000 to six places. This case asserts the DERIVED 2.228138852 at nine places, not the published 2.28139. Had the published figure been copied, every engine on earth would have been recorded as diverging from Excel here, and the divergence would have been ours. |
Matched |
| =ROUND(T.INV.2T(2*0.05,10),6) | The second figure in the same Remark, which is also wrong -- by a last-digit rounding error rather than a transposition | 1.812461 | 1.812461ProvenanceBOTH FIGURES IN MICROSOFT'S REMARK ARE WRONG, AND THE SECOND ONE WAS CAUGHT BY THE ENGINE RATHER THAN BY THE DERIVATION. The paragraph -- identical on the T.INV.2T page and the TINV page -- publishes: "For a probability of 0.05 and degrees of freedom of 10, the two-tailed value is calculated with TINV(0.05,10), which returns 2.28139. The one-tailed value ... TINV(2*0.05,10), which returns 1.812462." FIGURE ONE, 2.28139, IS A TRANSPOSITION: the true value is 2.228138851986274748395, i.e. 2.228139 -- the digits are right and their order is not. FIGURE TWO, 1.812462, IS A LAST-DIGIT ROUNDING ERROR: the true value is 1.812461122811676413626, which correctly rounded to six places is 1.812461, not 1.812462. This corpus originally asserted Microsoft's 1.812462 -- the derivation had been done but the six-place rounding was copied from the page instead of taken from the derived digits -- and ALL FOUR LibreOffice builds returned 1.812461. The engine was right and the citation was wrong; the case now asserts the derived value and this note records why it changed. Every figure here was checked three independent ways: a root find on the regularized-incomplete-beta t CDF, a root find on a NUMERICALLY INTEGRATED t density sharing no code with the first, and scipy.stats.t.ppf -- all agreeing to double precision. The sanity check settles figure one from the other direction too: T.DIST.2T(2.28139, 10) is 0.045678, not 0.05, while T.DIST.2T(2.228139, 10) is 0.0500000 to six places. This case asserts the DERIVED 1.812461 at six places. It is the pair with the 2.228139 case above that shows the paragraph to be unreliable as a whole rather than carrying one isolated typo. |
Matched |
| =ROUND(T.DIST.2T(T.INV.2T(0.2,15),15),12) | The two-tailed inverse fed back through the two-tailed distribution | 0.2 | 0.2ProvenanceT.DIST.2T(T.INV.2T(p, v), v) = p by definition. A structural round trip with no derived constant, checking the engine's own pair against each other. NOTE ON MICROSOFT'S OWN WORDING: the T.INV.2T page states this relationship as "T.DIST.2T(x, deg_freedom, 2) = probability" -- a THREE-argument call, when the T.DIST.2T page's syntax line publishes exactly two arguments, T.DIST.2T(x,deg_freedom). The stray third argument is left over from the legacy TDIST(x,deg_freedom,tails) form. Recorded as published; the formula under test uses the two-argument syntax the T.DIST.2T page actually documents. |
Matched |
| =T.INV.2T(0,60) | A probability of zero, which the page excludes | #VALUE! | #NUM!ProvenanceThe Remarks publish: "If probability <= 0 or if probability > 1, T.INV.2T returns the #NUM! error value." |
Mismatch |
| =T.INV.2T(0.5,0) | Zero degrees of freedom, which the page excludes | #VALUE! | #NUM!ProvenanceThe Remarks publish: "If deg_freedom < 1, T.INV.2T returns the #NUM! error value." |
Mismatch |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Where T.INV.2T behaves differently
- 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. - Your function exists but your file cannot say so: _xlfn storage tokens
Executed: eight IM* functions LibreOffice implements return #NAME? on all four builds because it cannot read Excel's _xlfn. token for them, while COT and CSC only work under that same prefix. Eleven LibreOffice aliases are erased by its own exporter, and a token change between 24.2 and 24.8 makes a 24.8-written file open as #NAME? in 24.2.