← All functions

TDIST

Quirk found

Category: Compatibility · Last tested 2026-09-01

Real compatibility results for the TDIST 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 TDIST’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 TDIST working in LibreOffice?

TDIST 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(TDIST(A2,A3,2),9) Microsoft's first documented row: the two-tailed distribution, at the nine decimals its description publishes 0.05464493 0.05464493
Provenance

Microsoft publishes =TDIST(A2,A3,2) with the description "Two-tailed distribution (0.054644930, or 5.46 percent)" and a Result cell formatted as "5.46%". The assertable figure is the number, 0.054644930; the percent string is cell formatting. DERIVED on the doubly-cross-checked t CDF (incomplete beta AND numerical quadrature of the density, agreeing to 25 digits, with scipy as a third check): 2*(1 - F(1.959999998)) at 60 degrees of freedom = 0.05464492997592087239699, which is 0.054644930 at the published precision -- 0.05464493 as a number, the trailing zero being Microsoft's formatting. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/tdist-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(TDIST(A2,A3,1),9) Microsoft's second documented row: the one-tailed distribution 0.027322465 0.027322465
Provenance

Microsoft publishes =TDIST(A2,A3,1) with the description "One-tailed distribution (0.027322465 or 2.73 percent)". Derived as 1 - F(1.959999998) at 60 degrees of freedom = 0.02732246498796043619849, i.e. 0.027322465 at the published precision -- exactly half the two-tailed row above, which the page's own definitions require.

Matched
=ROUND(TDIST(1.5,25,2)-T.DIST.2T(1.5,25),15) The legacy two-tailed form against its modern replacement 0 0
Provenance

The TDIST page's Important box directs readers to "T.DIST.2T function and T.DIST.RT function", and its Remarks define TDIST with tails = 2 as P(|X| > x) -- exactly what T.DIST.2T computes. A structural assertion with no derived constant, checking the engine's legacy and modern spellings against each other. THIS IS THE CASE THAT WOULD CATCH A COMPATIBILITY-FUNCTION ALIAS THAT DRIFTED, which is the whole reason the legacy names are still in this corpus.

Matched
=ROUND(TDIST(1.5,25,1)-T.DIST.RT(1.5,25),15) The legacy one-tailed form against its modern replacement 0 0
Provenance

TDIST with tails = 1 is defined on the page as P(X > x), which is T.DIST.RT. A structural assertion with no derived constant.

Matched
=TDIST(-1,60,2) A negative x, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If x < 0, then TDIST returns the #NUM! error value." The same page ALSO publishes, two bullets later, the identities "TDIST(-x,df,1) = 1 - TDIST(x,df,1) = P(X > -x)" and "TDIST(-x,df,2) = TDIST(x,df,2) = P(|X| > x)" -- i.e. it defines the function at negative arguments in the same breath as forbidding them. Recorded as published; the #NUM! rule is the one asserted, because it is the one stated as a return value.

Matched
=TDIST(1.96,60,3) A tails argument of 3, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If tails is any value other than 1 or 2, TDIST returns the #NUM! error value."

Matched
=TDIST(1.96,0,2) Zero degrees of freedom, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If deg_freedom < 1, TDIST returns the #NUM! error value." Note this legacy page NAMES the code where its modern sibling T.DIST does not.

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(TDIST(A2,A3,2),9) Microsoft's first documented row: the two-tailed distribution, at the nine decimals its description publishes 0.05464493 0.05464493
Provenance

Microsoft publishes =TDIST(A2,A3,2) with the description "Two-tailed distribution (0.054644930, or 5.46 percent)" and a Result cell formatted as "5.46%". The assertable figure is the number, 0.054644930; the percent string is cell formatting. DERIVED on the doubly-cross-checked t CDF (incomplete beta AND numerical quadrature of the density, agreeing to 25 digits, with scipy as a third check): 2*(1 - F(1.959999998)) at 60 degrees of freedom = 0.05464492997592087239699, which is 0.054644930 at the published precision -- 0.05464493 as a number, the trailing zero being Microsoft's formatting. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/tdist-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(TDIST(A2,A3,1),9) Microsoft's second documented row: the one-tailed distribution 0.027322465 0.027322465
Provenance

Microsoft publishes =TDIST(A2,A3,1) with the description "One-tailed distribution (0.027322465 or 2.73 percent)". Derived as 1 - F(1.959999998) at 60 degrees of freedom = 0.02732246498796043619849, i.e. 0.027322465 at the published precision -- exactly half the two-tailed row above, which the page's own definitions require.

Matched
=ROUND(TDIST(1.5,25,2)-T.DIST.2T(1.5,25),15) The legacy two-tailed form against its modern replacement 0 0
Provenance

The TDIST page's Important box directs readers to "T.DIST.2T function and T.DIST.RT function", and its Remarks define TDIST with tails = 2 as P(|X| > x) -- exactly what T.DIST.2T computes. A structural assertion with no derived constant, checking the engine's legacy and modern spellings against each other. THIS IS THE CASE THAT WOULD CATCH A COMPATIBILITY-FUNCTION ALIAS THAT DRIFTED, which is the whole reason the legacy names are still in this corpus.

Matched
=ROUND(TDIST(1.5,25,1)-T.DIST.RT(1.5,25),15) The legacy one-tailed form against its modern replacement 0 0
Provenance

TDIST with tails = 1 is defined on the page as P(X > x), which is T.DIST.RT. A structural assertion with no derived constant.

Matched
=TDIST(-1,60,2) A negative x, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If x < 0, then TDIST returns the #NUM! error value." The same page ALSO publishes, two bullets later, the identities "TDIST(-x,df,1) = 1 - TDIST(x,df,1) = P(X > -x)" and "TDIST(-x,df,2) = TDIST(x,df,2) = P(|X| > x)" -- i.e. it defines the function at negative arguments in the same breath as forbidding them. Recorded as published; the #NUM! rule is the one asserted, because it is the one stated as a return value.

Matched
=TDIST(1.96,60,3) A tails argument of 3, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If tails is any value other than 1 or 2, TDIST returns the #NUM! error value."

Matched
=TDIST(1.96,0,2) Zero degrees of freedom, which the page excludes #NUM! #NUM!
Provenance

The Remarks publish: "If deg_freedom < 1, TDIST returns the #NUM! error value." Note this legacy page NAMES the code where its modern sibling T.DIST does not.

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-08-31)

FormulaDescriptionResultExpectedVerdict
=ROUND(TDIST(A2,A3,2),9) Microsoft's first documented row: the two-tailed distribution, at the nine decimals its description publishes 0.05464493 0.05464493
Provenance

Microsoft publishes =TDIST(A2,A3,2) with the description "Two-tailed distribution (0.054644930, or 5.46 percent)" and a Result cell formatted as "5.46%". The assertable figure is the number, 0.054644930; the percent string is cell formatting. DERIVED on the doubly-cross-checked t CDF (incomplete beta AND numerical quadrature of the density, agreeing to 25 digits, with scipy as a third check): 2*(1 - F(1.959999998)) at 60 degrees of freedom = 0.05464492997592087239699, which is 0.054644930 at the published precision -- 0.05464493 as a number, the trailing zero being Microsoft's formatting. Microsoft's page was read live on 2026-08-31 at https://support.microsoft.com/en-us/excel/functions/tdist-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(TDIST(A2,A3,1),9) Microsoft's second documented row: the one-tailed distribution 0.027322465 0.027322465
Provenance

Microsoft publishes =TDIST(A2,A3,1) with the description "One-tailed distribution (0.027322465 or 2.73 percent)". Derived as 1 - F(1.959999998) at 60 degrees of freedom = 0.02732246498796043619849, i.e. 0.027322465 at the published precision -- exactly half the two-tailed row above, which the page's own definitions require.

Matched
=ROUND(TDIST(1.5,25,2)-T.DIST.2T(1.5,25),15) The legacy two-tailed form against its modern replacement 0 0
Provenance

The TDIST page's Important box directs readers to "T.DIST.2T function and T.DIST.RT function", and its Remarks define TDIST with tails = 2 as P(|X| > x) -- exactly what T.DIST.2T computes. A structural assertion with no derived constant, checking the engine's legacy and modern spellings against each other. THIS IS THE CASE THAT WOULD CATCH A COMPATIBILITY-FUNCTION ALIAS THAT DRIFTED, which is the whole reason the legacy names are still in this corpus.

Matched
=ROUND(TDIST(1.5,25,1)-T.DIST.RT(1.5,25),15) The legacy one-tailed form against its modern replacement 0 0
Provenance

TDIST with tails = 1 is defined on the page as P(X > x), which is T.DIST.RT. A structural assertion with no derived constant.

Matched
=TDIST(-1,60,2) A negative x, which the page excludes #VALUE! #NUM!
Provenance

The Remarks publish: "If x < 0, then TDIST returns the #NUM! error value." The same page ALSO publishes, two bullets later, the identities "TDIST(-x,df,1) = 1 - TDIST(x,df,1) = P(X > -x)" and "TDIST(-x,df,2) = TDIST(x,df,2) = P(|X| > x)" -- i.e. it defines the function at negative arguments in the same breath as forbidding them. Recorded as published; the #NUM! rule is the one asserted, because it is the one stated as a return value.

Mismatch
=TDIST(1.96,60,3) A tails argument of 3, which the page excludes #VALUE! #NUM!
Provenance

The Remarks publish: "If tails is any value other than 1 or 2, TDIST returns the #NUM! error value."

Mismatch
=TDIST(1.96,0,2) Zero degrees of freedom, which the page excludes #VALUE! #NUM!
Provenance

The Remarks publish: "If deg_freedom < 1, TDIST returns the #NUM! error value." Note this legacy page NAMES the code where its modern sibling T.DIST does not.

Mismatch

Docs & syntax

Where TDIST behaves differently