← All functions

T.DIST.RT

Quirk found

Category: Statistical · Last tested 2026-09-01

Real compatibility results for the T.DIST.RT 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

EngineDocumentedLive-testedVerdict
Excel (desktop)Yes No — documented only n/a
Excel for the web— Yes (recalc, 2026-09-01) Supported, behaves as documented
Google SheetsYes Yes (Drive import, 2026-08-31) Supported, behaves as documented
LibreOffice CalcYes 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.RT’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
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.RT working in LibreOffice?

T.DIST.RT 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

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.

FormulaDescriptionResultExpectedVerdict
=ROUND(T.DIST.RT(A2,A3),6) Microsoft's documented worked example, at the six decimals it publishes 0.027322 0.027322
Provenance

Microsoft publishes =T.DIST.RT(A2,A3) = 0.027322 for A2 = 1.959999998 and A3 = 60. Unlike the T.DIST.2T page, this one prints the unformatted number rather than a percentage. 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. Right-tailed is 1 - F(x) = 0.02732246498796043619849 at 50 digits, i.e. 0.027322 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-rt-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.RT(A2,A3),10) The same example carried to ten decimals 0.027322465 0.027322465
Provenance

Asserted at ten places from the derivation: 0.027322465.

Matched
=ROUND(T.DIST.RT(1.3,12)+T.DIST(1.3,12,TRUE),12) Right tail plus left tail is exactly one 1 1
Provenance

P(X > x) + P(X <= x) = 1 by definition. A structural assertion with no derived constant that checks T.DIST.RT against the engine's own T.DIST -- the two are separate implementations in most engines, and this is what catches one of them being off.

Matched
=ROUND(T.DIST.RT(-1,10),12) A negative x, which this page does NOT exclude although its two-tailed sibling does 0.829553433849 0.829553433849
Provenance

THE ASYMMETRY BETWEEN THE TWO PAGES IS THE POINT. T.DIST.2T's Remarks publish "If x < 0, then T.DIST.2T returns the #NUM! error value"; the T.DIST.RT page publishes NO such rule -- its only Remarks are the nonnumeric #VALUE! and the deg_freedom #NUM!. So a negative x is inside T.DIST.RT's documented range, and the right-tail probability there is 1 - F(-1) = 0.829553433849 at twelve places (0.82955343384897006366 at 20), derived on the same cross-checked CDF. MICROSOFT PUBLISHES NO FIGURE FOR THIS INPUT: the value is entirely ours, and the case is what makes the difference between the two pages testable rather than merely noted.

Matched
=T.DIST.RT(1,0) Zero degrees of freedom, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If deg_freedom < 1, T.DIST.RT returns the #NUM! error value."

Matched
=T.DIST.RT("abc",60) A non-numeric argument #VALUE! #VALUE!
Provenance

The Remarks publish: "If any argument is nonnumeric, T.DIST.RT 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.

FormulaDescriptionResultExpectedVerdict
=ROUND(T.DIST.RT(A2,A3),6) Microsoft's documented worked example, at the six decimals it publishes 0.027322 0.027322
Provenance

Microsoft publishes =T.DIST.RT(A2,A3) = 0.027322 for A2 = 1.959999998 and A3 = 60. Unlike the T.DIST.2T page, this one prints the unformatted number rather than a percentage. 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. Right-tailed is 1 - F(x) = 0.02732246498796043619849 at 50 digits, i.e. 0.027322 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-rt-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.RT(A2,A3),10) The same example carried to ten decimals 0.027322465 0.027322465
Provenance

Asserted at ten places from the derivation: 0.027322465.

Matched
=ROUND(T.DIST.RT(1.3,12)+T.DIST(1.3,12,TRUE),12) Right tail plus left tail is exactly one 1 1
Provenance

P(X > x) + P(X <= x) = 1 by definition. A structural assertion with no derived constant that checks T.DIST.RT against the engine's own T.DIST -- the two are separate implementations in most engines, and this is what catches one of them being off.

Matched
=ROUND(T.DIST.RT(-1,10),12) A negative x, which this page does NOT exclude although its two-tailed sibling does 0.8295534338 0.829553433849
Provenance

THE ASYMMETRY BETWEEN THE TWO PAGES IS THE POINT. T.DIST.2T's Remarks publish "If x < 0, then T.DIST.2T returns the #NUM! error value"; the T.DIST.RT page publishes NO such rule -- its only Remarks are the nonnumeric #VALUE! and the deg_freedom #NUM!. So a negative x is inside T.DIST.RT's documented range, and the right-tail probability there is 1 - F(-1) = 0.829553433849 at twelve places (0.82955343384897006366 at 20), derived on the same cross-checked CDF. MICROSOFT PUBLISHES NO FIGURE FOR THIS INPUT: the value is entirely ours, and the case is what makes the difference between the two pages testable rather than merely noted.

Matched
=T.DIST.RT(1,0) Zero degrees of freedom, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If deg_freedom < 1, T.DIST.RT returns the #NUM! error value."

Matched
=T.DIST.RT("abc",60) A non-numeric argument #VALUE! #VALUE!
Provenance

The Remarks publish: "If any argument is nonnumeric, T.DIST.RT returns the #VALUE! error value."

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-08-31)

FormulaDescriptionResultExpectedVerdict
=ROUND(T.DIST.RT(A2,A3),6) Microsoft's documented worked example, at the six decimals it publishes 0.027322 0.027322
Provenance

Microsoft publishes =T.DIST.RT(A2,A3) = 0.027322 for A2 = 1.959999998 and A3 = 60. Unlike the T.DIST.2T page, this one prints the unformatted number rather than a percentage. 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. Right-tailed is 1 - F(x) = 0.02732246498796043619849 at 50 digits, i.e. 0.027322 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-rt-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.RT(A2,A3),10) The same example carried to ten decimals 0.027322465 0.027322465
Provenance

Asserted at ten places from the derivation: 0.027322465.

Matched
=ROUND(T.DIST.RT(1.3,12)+T.DIST(1.3,12,TRUE),12) Right tail plus left tail is exactly one 1 1
Provenance

P(X > x) + P(X <= x) = 1 by definition. A structural assertion with no derived constant that checks T.DIST.RT against the engine's own T.DIST -- the two are separate implementations in most engines, and this is what catches one of them being off.

Matched
=ROUND(T.DIST.RT(-1,10),12) A negative x, which this page does NOT exclude although its two-tailed sibling does 0.829553433849 0.829553433849
Provenance

THE ASYMMETRY BETWEEN THE TWO PAGES IS THE POINT. T.DIST.2T's Remarks publish "If x < 0, then T.DIST.2T returns the #NUM! error value"; the T.DIST.RT page publishes NO such rule -- its only Remarks are the nonnumeric #VALUE! and the deg_freedom #NUM!. So a negative x is inside T.DIST.RT's documented range, and the right-tail probability there is 1 - F(-1) = 0.829553433849 at twelve places (0.82955343384897006366 at 20), derived on the same cross-checked CDF. MICROSOFT PUBLISHES NO FIGURE FOR THIS INPUT: the value is entirely ours, and the case is what makes the difference between the two pages testable rather than merely noted.

Matched
=T.DIST.RT(1,0) Zero degrees of freedom, which the page excludes #VALUE! #NUM!
Provenance

The Remarks publish: "If deg_freedom < 1, T.DIST.RT returns the #NUM! error value."

Mismatch
=T.DIST.RT("abc",60) A non-numeric argument #VALUE! #VALUE!
Provenance

The Remarks publish: "If any argument is nonnumeric, T.DIST.RT returns the #VALUE! error value."

Matched

Docs & syntax