← All functions

CHISQ.INV

Quirk found

Category: Statistical · Last tested 2026-09-01

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

CHISQ.INV 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(CHISQ.INV(0.93,1),8) Microsoft's first documented worked example: inverse of the left-tailed chi-squared probability 0.93 at 1 degree of freedom 3.28302029 3.28302029
Provenance

Microsoft's page publishes this example's result as 3.283020286, which is a TRUNCATION rather than a rounding of the true value. Independently derived from the documented left-tail inverse: scipy.stats.chi2.ppf(0.93, 1) = 3.283020286759539, whose correct 9-decimal rounding is 3.283020287, not the published 3.283020286. Asserting at 8 dp (3.28302029) is the deepest precision at which the published figure and the mathematically correct value agree, so this case tests the function rather than the page's truncation

Matched
=ROUND(CHISQ.INV(0.6,2),9) Microsoft's second documented worked example: inverse of the left-tailed chi-squared probability 0.6 at 2 degrees of freedom 1.832581464 1.832581464
Provenance

Microsoft's page publishes this example's result as 1.832581464. Independently derived two ways: scipy.stats.chi2.ppf(0.6, 2) = 1.83258146374831, and in closed form, since the chi-squared distribution with 2 degrees of freedom is exponential with mean 2, the inverse is -2*ln(1-0.6) = -2*ln(0.4) = 1.83258146374831 -> 1.832581464 at 9 dp

Matched
=ROUND(CHISQ.INV(0.6,2.9),9) A non-integer degrees-of-freedom argument, which the documentation says is truncated 1.832581464 1.832581464
Provenance

Excel documents "If deg_freedom is not an integer, it is truncated", so 2.9 must behave exactly as 2 and return the documented 1.832581464. Independently checked that this discriminates: a genuine 2.9 degrees of freedom would give chi2.ppf(0.6, 2.9) = 2.835555

Matched
=CHISQ.INV(1.5,1) A probability argument greater than 1 #NUM! #NUM!
Provenance

Excel documents: "If probability < 0 or probability > 1, CHISQ.INV returns the #NUM! error value."

Matched
=CHISQ.INV(0.93,0) Zero degrees of freedom #NUM! #NUM!
Provenance

Excel documents: "If deg_freedom < 1 or deg_freedom > 10^10, CHISQ.INV returns the #NUM! error value."

Matched
=CHISQ.INV("abc",1) A non-numeric probability argument #VALUE! #VALUE!
Provenance

Excel documents: "If argument is nonnumeric, CHISQ.INV 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(CHISQ.INV(0.93,1),8) Microsoft's first documented worked example: inverse of the left-tailed chi-squared probability 0.93 at 1 degree of freedom 3.28302029 3.28302029
Provenance

Microsoft's page publishes this example's result as 3.283020286, which is a TRUNCATION rather than a rounding of the true value. Independently derived from the documented left-tail inverse: scipy.stats.chi2.ppf(0.93, 1) = 3.283020286759539, whose correct 9-decimal rounding is 3.283020287, not the published 3.283020286. Asserting at 8 dp (3.28302029) is the deepest precision at which the published figure and the mathematically correct value agree, so this case tests the function rather than the page's truncation

Matched
=ROUND(CHISQ.INV(0.6,2),9) Microsoft's second documented worked example: inverse of the left-tailed chi-squared probability 0.6 at 2 degrees of freedom 1.832581464 1.832581464
Provenance

Microsoft's page publishes this example's result as 1.832581464. Independently derived two ways: scipy.stats.chi2.ppf(0.6, 2) = 1.83258146374831, and in closed form, since the chi-squared distribution with 2 degrees of freedom is exponential with mean 2, the inverse is -2*ln(1-0.6) = -2*ln(0.4) = 1.83258146374831 -> 1.832581464 at 9 dp

Matched
=ROUND(CHISQ.INV(0.6,2.9),9) A non-integer degrees-of-freedom argument, which the documentation says is truncated 1.832581464 1.832581464
Provenance

Excel documents "If deg_freedom is not an integer, it is truncated", so 2.9 must behave exactly as 2 and return the documented 1.832581464. Independently checked that this discriminates: a genuine 2.9 degrees of freedom would give chi2.ppf(0.6, 2.9) = 2.835555

Matched
=CHISQ.INV(1.5,1) A probability argument greater than 1 #NUM! #NUM!
Provenance

Excel documents: "If probability < 0 or probability > 1, CHISQ.INV returns the #NUM! error value."

Matched
=CHISQ.INV(0.93,0) Zero degrees of freedom #NUM! #NUM!
Provenance

Excel documents: "If deg_freedom < 1 or deg_freedom > 10^10, CHISQ.INV returns the #NUM! error value."

Matched
=CHISQ.INV("abc",1) A non-numeric probability argument #VALUE! #VALUE!
Provenance

Excel documents: "If argument is nonnumeric, CHISQ.INV returns the #VALUE! error value."

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-08-31)

FormulaDescriptionResultExpectedVerdict
=ROUND(CHISQ.INV(0.93,1),8) Microsoft's first documented worked example: inverse of the left-tailed chi-squared probability 0.93 at 1 degree of freedom 3.28302029 3.28302029
Provenance

Microsoft's page publishes this example's result as 3.283020286, which is a TRUNCATION rather than a rounding of the true value. Independently derived from the documented left-tail inverse: scipy.stats.chi2.ppf(0.93, 1) = 3.283020286759539, whose correct 9-decimal rounding is 3.283020287, not the published 3.283020286. Asserting at 8 dp (3.28302029) is the deepest precision at which the published figure and the mathematically correct value agree, so this case tests the function rather than the page's truncation

Matched
=ROUND(CHISQ.INV(0.6,2),9) Microsoft's second documented worked example: inverse of the left-tailed chi-squared probability 0.6 at 2 degrees of freedom 1.832581464 1.832581464
Provenance

Microsoft's page publishes this example's result as 1.832581464. Independently derived two ways: scipy.stats.chi2.ppf(0.6, 2) = 1.83258146374831, and in closed form, since the chi-squared distribution with 2 degrees of freedom is exponential with mean 2, the inverse is -2*ln(1-0.6) = -2*ln(0.4) = 1.83258146374831 -> 1.832581464 at 9 dp

Matched
=ROUND(CHISQ.INV(0.6,2.9),9) A non-integer degrees-of-freedom argument, which the documentation says is truncated 1.832581464 1.832581464
Provenance

Excel documents "If deg_freedom is not an integer, it is truncated", so 2.9 must behave exactly as 2 and return the documented 1.832581464. Independently checked that this discriminates: a genuine 2.9 degrees of freedom would give chi2.ppf(0.6, 2.9) = 2.835555

Matched
=CHISQ.INV(1.5,1) A probability argument greater than 1 #VALUE! #NUM!
Provenance

Excel documents: "If probability < 0 or probability > 1, CHISQ.INV returns the #NUM! error value."

Mismatch
=CHISQ.INV(0.93,0) Zero degrees of freedom #VALUE! #NUM!
Provenance

Excel documents: "If deg_freedom < 1 or deg_freedom > 10^10, CHISQ.INV returns the #NUM! error value."

Mismatch
=CHISQ.INV("abc",1) A non-numeric probability argument #VALUE! #VALUE!
Provenance

Excel documents: "If argument is nonnumeric, CHISQ.INV returns the #VALUE! error value."

Matched

Docs & syntax

Where CHISQ.INV behaves differently