T.DIST.2T
Quirk foundCategory: Statistical · Last tested 2026-09-01
Real compatibility results for the T.DIST.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.DIST.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.DIST.2T working in LibreOffice?
T.DIST.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.DIST.2T(-1,10) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The Remarks publish: "If x < 0, then T.DIST.2T returns the #NUM! error value." Worth noting that P(|X| > x) is perfectly well defined for negative x (it is 1), so this is a documented RESTRICTION rather than a mathematical necessity -- and its right-tailed sibling T.DIST.RT publishes no such rule, which is why the two files assert different things about negative arguments.; MISMATCH vs expected: expected '#NUM!', got '#VALUE!'
-
=T.DIST.2T(1,0) on
LibreOffice Calc returned
#VALUE!, but the documented/expected
result is #NUM!.
Provenance
The Remarks publish: "If deg_freedom < 1, T.DIST.2T returns the #NUM! error value." Unlike the T.DIST page, this one names the code.; 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.DIST.2T(A2,A3),6) | Microsoft's documented worked example, at the six decimals its description publishes | 0.054645 | 0.054645ProvenanceMicrosoft publishes =T.DIST.2T(A2,A3) for A2 = 1.959999998 and A3 = 60 with the description "Two-tailed distribution (0.054645, or 5.46 percent)". NOTE ON THE RESULT COLUMN: the page's Result cell reads "5.46%", which is cell FORMATTING of the same number -- the assertable figure is 0.054645, and this corpus asserts the number rather than the percent string. DERIVATION -- and this batch derived the whole t family TWICE, along two paths that share no code: (1) the Student t CDF as the regularized incomplete beta 1 - I_{v/(v+x^2)}(v/2, 1/2)/2, and (2) NUMERICAL QUADRATURE of the t density gamma((v+1)/2)/(sqrt(v*pi)*gamma(v/2)) * (1+x^2/v)^(-(v+1)/2), integrated as a TAIL from x to infinity so the heavy tail carries the error rather than the answer. The two agree to 25 significant digits on every point asserted in this batch, and scipy.stats.t reproduces each of them to double precision as a third check. Inverses are ROOT-FOUND on that cross-checked CDF, never taken from a statistics library's own inverse. Two-tailed is 2*(1 - F(x)) = 0.05464492997592087239699 at 50 digits, i.e. 0.054645 at the published precision. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/t-dist-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.DIST.2T(A2,A3),10) | The same example carried to ten decimals | 0.05464493 | 0.05464493ProvenanceAsserted at ten places from the derivation: 0.05464493. The argument 1.959999998 is deliberately just short of the familiar 1.96, and at ten places the difference from T.DIST.2T(1.96,60) = 0.0546449297 is visible -- which is the point of carrying the extra digits. |
Matched |
| =ROUND(T.DIST.2T(1.5,20)-2*T.DIST.RT(1.5,20),15) | The documented relationship between the two-tailed and right-tailed functions | 0 | 0ProvenanceThe two-tailed probability P(|X| > x) is exactly twice the right-tailed P(X > x) for a symmetric distribution, and the TDIST page states the pair explicitly ("If Tails = 1, TDIST is calculated as TDIST = P( X>x )... If Tails = 2, TDIST is calculated as TDIST = P(|X| > x) = P(X > x or X < -x)"). A structural assertion with no derived constant, checking the engine's two functions against each other. |
Matched |
| =T.DIST.2T(-1,10) | A negative x, which this page excludes even though the two-tailed value would be well defined | #NUM! | #NUM!ProvenanceThe Remarks publish: "If x < 0, then T.DIST.2T returns the #NUM! error value." Worth noting that P(|X| > x) is perfectly well defined for negative x (it is 1), so this is a documented RESTRICTION rather than a mathematical necessity -- and its right-tailed sibling T.DIST.RT publishes no such rule, which is why the two files assert different things about negative arguments. |
Matched |
| =T.DIST.2T(1,0) | Zero degrees of freedom, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If deg_freedom < 1, T.DIST.2T returns the #NUM! error value." Unlike the T.DIST page, this one names the code. |
Matched |
| =T.DIST.2T("abc",60) | A non-numeric argument | #VALUE! | #VALUE!ProvenanceThe Remarks publish: "If any argument is nonnumeric, T.DIST.2T 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(T.DIST.2T(A2,A3),6) | Microsoft's documented worked example, at the six decimals its description publishes | 0.054645 | 0.054645ProvenanceMicrosoft publishes =T.DIST.2T(A2,A3) for A2 = 1.959999998 and A3 = 60 with the description "Two-tailed distribution (0.054645, or 5.46 percent)". NOTE ON THE RESULT COLUMN: the page's Result cell reads "5.46%", which is cell FORMATTING of the same number -- the assertable figure is 0.054645, and this corpus asserts the number rather than the percent string. DERIVATION -- and this batch derived the whole t family TWICE, along two paths that share no code: (1) the Student t CDF as the regularized incomplete beta 1 - I_{v/(v+x^2)}(v/2, 1/2)/2, and (2) NUMERICAL QUADRATURE of the t density gamma((v+1)/2)/(sqrt(v*pi)*gamma(v/2)) * (1+x^2/v)^(-(v+1)/2), integrated as a TAIL from x to infinity so the heavy tail carries the error rather than the answer. The two agree to 25 significant digits on every point asserted in this batch, and scipy.stats.t reproduces each of them to double precision as a third check. Inverses are ROOT-FOUND on that cross-checked CDF, never taken from a statistics library's own inverse. Two-tailed is 2*(1 - F(x)) = 0.05464492997592087239699 at 50 digits, i.e. 0.054645 at the published precision. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/t-dist-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.DIST.2T(A2,A3),10) | The same example carried to ten decimals | 0.05464493 | 0.05464493ProvenanceAsserted at ten places from the derivation: 0.05464493. The argument 1.959999998 is deliberately just short of the familiar 1.96, and at ten places the difference from T.DIST.2T(1.96,60) = 0.0546449297 is visible -- which is the point of carrying the extra digits. |
Matched |
| =ROUND(T.DIST.2T(1.5,20)-2*T.DIST.RT(1.5,20),15) | The documented relationship between the two-tailed and right-tailed functions | 0 | 0ProvenanceThe two-tailed probability P(|X| > x) is exactly twice the right-tailed P(X > x) for a symmetric distribution, and the TDIST page states the pair explicitly ("If Tails = 1, TDIST is calculated as TDIST = P( X>x )... If Tails = 2, TDIST is calculated as TDIST = P(|X| > x) = P(X > x or X < -x)"). A structural assertion with no derived constant, checking the engine's two functions against each other. |
Matched |
| =T.DIST.2T(-1,10) | A negative x, which this page excludes even though the two-tailed value would be well defined | #NUM! | #NUM!ProvenanceThe Remarks publish: "If x < 0, then T.DIST.2T returns the #NUM! error value." Worth noting that P(|X| > x) is perfectly well defined for negative x (it is 1), so this is a documented RESTRICTION rather than a mathematical necessity -- and its right-tailed sibling T.DIST.RT publishes no such rule, which is why the two files assert different things about negative arguments. |
Matched |
| =T.DIST.2T(1,0) | Zero degrees of freedom, which the page excludes | #NUM! | #NUM!ProvenanceThe Remarks publish: "If deg_freedom < 1, T.DIST.2T returns the #NUM! error value." Unlike the T.DIST page, this one names the code. |
Matched |
| =T.DIST.2T("abc",60) | A non-numeric argument | #VALUE! | #VALUE!ProvenanceThe Remarks publish: "If any argument is nonnumeric, T.DIST.2T returns the #VALUE! error value." |
Matched |
LibreOffice Calc 25.8.7.3 (tested 2026-08-31)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ROUND(T.DIST.2T(A2,A3),6) | Microsoft's documented worked example, at the six decimals its description publishes | 0.054645 | 0.054645ProvenanceMicrosoft publishes =T.DIST.2T(A2,A3) for A2 = 1.959999998 and A3 = 60 with the description "Two-tailed distribution (0.054645, or 5.46 percent)". NOTE ON THE RESULT COLUMN: the page's Result cell reads "5.46%", which is cell FORMATTING of the same number -- the assertable figure is 0.054645, and this corpus asserts the number rather than the percent string. DERIVATION -- and this batch derived the whole t family TWICE, along two paths that share no code: (1) the Student t CDF as the regularized incomplete beta 1 - I_{v/(v+x^2)}(v/2, 1/2)/2, and (2) NUMERICAL QUADRATURE of the t density gamma((v+1)/2)/(sqrt(v*pi)*gamma(v/2)) * (1+x^2/v)^(-(v+1)/2), integrated as a TAIL from x to infinity so the heavy tail carries the error rather than the answer. The two agree to 25 significant digits on every point asserted in this batch, and scipy.stats.t reproduces each of them to double precision as a third check. Inverses are ROOT-FOUND on that cross-checked CDF, never taken from a statistics library's own inverse. Two-tailed is 2*(1 - F(x)) = 0.05464492997592087239699 at 50 digits, i.e. 0.054645 at the published precision. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/t-dist-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.DIST.2T(A2,A3),10) | The same example carried to ten decimals | 0.05464493 | 0.05464493ProvenanceAsserted at ten places from the derivation: 0.05464493. The argument 1.959999998 is deliberately just short of the familiar 1.96, and at ten places the difference from T.DIST.2T(1.96,60) = 0.0546449297 is visible -- which is the point of carrying the extra digits. |
Matched |
| =ROUND(T.DIST.2T(1.5,20)-2*T.DIST.RT(1.5,20),15) | The documented relationship between the two-tailed and right-tailed functions | 0 | 0ProvenanceThe two-tailed probability P(|X| > x) is exactly twice the right-tailed P(X > x) for a symmetric distribution, and the TDIST page states the pair explicitly ("If Tails = 1, TDIST is calculated as TDIST = P( X>x )... If Tails = 2, TDIST is calculated as TDIST = P(|X| > x) = P(X > x or X < -x)"). A structural assertion with no derived constant, checking the engine's two functions against each other. |
Matched |
| =T.DIST.2T(-1,10) | A negative x, which this page excludes even though the two-tailed value would be well defined | #VALUE! | #NUM!ProvenanceThe Remarks publish: "If x < 0, then T.DIST.2T returns the #NUM! error value." Worth noting that P(|X| > x) is perfectly well defined for negative x (it is 1), so this is a documented RESTRICTION rather than a mathematical necessity -- and its right-tailed sibling T.DIST.RT publishes no such rule, which is why the two files assert different things about negative arguments. |
Mismatch |
| =T.DIST.2T(1,0) | Zero degrees of freedom, which the page excludes | #VALUE! | #NUM!ProvenanceThe Remarks publish: "If deg_freedom < 1, T.DIST.2T returns the #NUM! error value." Unlike the T.DIST page, this one names the code. |
Mismatch |
| =T.DIST.2T("abc",60) | A non-numeric argument | #VALUE! | #VALUE!ProvenanceThe Remarks publish: "If any argument is nonnumeric, T.DIST.2T returns the #VALUE! error value." |
Matched |
Docs & syntax
- Excel (desktop): official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation