Excel 16.0 build 19929
Windows, bitness not recorded, CPU not recorded
14 captured inputs are indexed for this environment. Capture dates are not recorded. This is a reading count, not a comparison with another build.
Compatibility
Known larger differences on 69 of 104 recorded answers
Of 104 recorded answers (100 in the answer bank and 4 workbook cells), 69 do not match: 3 differ by more than 16 ULP, 66 differ by at most 16 ULP. How we measure this · See the Rust code
| Language | Name in Excel |
|---|---|
| Arabic | CHIINV |
| Bulgarian | CHIINV |
| Czech | CHIINV |
| Danish | CHIINV |
| German | CHIINV |
| Greek | CHIINV |
| English (Australia) | CHIINV |
| English (United Kingdom) | CHIINV |
| English (United States) | CHIINV |
| Spanish | PRUEBA.CHI.INV |
| Estonian | CHIINV |
| Finnish | CHIJAKAUMA.KÄÄNT |
| French | KHIDEUX.INVERSE |
| Hebrew | CHIINV |
| Croatian | CHIINV |
| Hungarian | INVERZ.KHI |
| Indonesian | CHIINV |
| Italian | CHIINV |
| Japanese | CHIINV |
| Korean | CHIINV |
| Lithuanian | CHIINV |
| Latvian | CHIINV |
| Norwegian | CHIINV |
| Dutch | CHI.KWADRAAT.INV |
| Polish | ROZKŁAD.CHI.ODW |
| Portuguese (Brazil) | QUIINV |
| Portuguese (Portugal) | INV.CHI |
| Romanian | CHIINV |
| Russian | ХИ2ОБР |
| Slovak | CHIINV |
| Slovenian | CHIINV |
| Serbian (Latin) | CHIINV |
| Swedish | CHI2INV |
| Thai | CHIINV |
| Turkish | KİKARETERS işlevi |
| Ukrainian | CHIINV |
| Vietnamese | CHIINV |
| Chinese (Simplified) | CHIINV |
| Chinese (Hong Kong) | CHIINV |
| Chinese (Traditional) | CHIINV |
Names from Microsoft's support site.
CHIINV(probability, deg_freedom)
CHIINV(probability, deg_freedom) finds the chi-square value whose right-tail probability is the requested value. CHIINV is the compatibility right-tail inverse.
=CHIINV(0.5,2) is about 1.38629436111989. At two degrees of freedom, a half right tail solves exp(-x/2)=0.5; the same point also has a half left CDF.
Degrees of freedom are truncated. Nonnumeric arguments give #VALUE!; invalid degrees or probabilities give #NUM!. The current helper accepts truncated degrees from one through 10^10 and requires 0<p<1; it rejects both probability endpoints.
The opened Microsoft page describes an out-of-range probability test below zero or above one, and degrees below one. It also documents #N/A after 100 unsuccessful search iterations. Those statements are documentation, rather than evidence that the current shared search has the same guards or iteration counter. The companion CHISQ.INV.RT page documents 64 iterations; this wording difference does not establish a measured change between Excel builds.
The current candidate inverts the decreasing regularized upper gamma ratio Q(k/2,x/2) directly. Do not first replace p by 1-p: a tiny p can disappear in that subtraction.
0<p<1. Let H(x)=-Q(k/2,x/2) and target=-p, making H increasing.lo=0,hi=max(k,1). While H(hi)<target, double hi, with the source’s limit of 200 expansion checks.U-L>1, take the integer midpoint M=L+(U-L)//2, decode it to x, and evaluate H(x). If H(x)>=target, set U=M; otherwise set L=M.At k=2 the mathematical right tail is exp(-x/2). Setting it to one half gives about 1.38629436111989. In the current code, however, this inverse callback remains the generic upper-gamma ratio; it does not call the public right-tail wrapper’s separate df=1 ERFC and df=2 EXP branches.
This is an implementable description of the current search, conditional on its numerical forward callback. That callback’s approximation and monotonic behaviour, its remaining mismatches and whole-domain Excel return choices are separate unresolved questions.
Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.
CHIINV · 4 lines · calc-func/src/catalogue/distributions.rs on GitHub25 chiinv "CHIINV" (2, 2) [V "probability", V "deg_freedom"] |s, a, sv| {
let [p, df] = nums::<2>(s, a)?;
out(s, cft::chisq_inv_rt_kernel(p, df))
}
nums catalogue/distributionstruncate_positive_integer ported/chi_f_t_familyvalidate_probability_open_unit ported/chi_f_t_familysearch_upper_bound ported/chi_f_t_familychisq_inv_rt_kernel ported/chi_f_t_familybinary_with ported/excel_numericexcel_expm1_internal ported/excel_numericexpm1_internal_graph ported/excel_numericexcel_x87_sub ported/excel_numericexcel_x87_mul ported/excel_numericexcel_x87_temme_finish ported/excel_numericexcel_x87_div ported/excel_numericmul ported/excel_numeric/x87sub ported/excel_numeric/x87div ported/excel_numeric/x87pow2_positive ported/excel_numeric/x87_chainspow2 ported/excel_numeric/x87_chainsexp_ext ported/excel_numeric/x87_chainsexp_with ported/excel_numeric/x87_chainsexcel_exp ported/excel_numeric/x87_chainslog_with ported/excel_numeric/x87_chainsexcel_log ported/excel_numeric/x87_chainsgratio_norm_gamma ported/special_math_commongratio_rexp ported/special_math_commongratio_rlog ported/special_math_commongratio_gam1 ported/special_math_commongratio ported/special_math_commonseries_prefactor ported/special_math_commongratio_after40 ported/special_math_commongratio_cf ported/special_math_commongratio_temme_270 ported/special_math_commongratio_temme_340 ported/special_math_commongratio_temme_330 ported/special_math_commongratio_temme_finish ported/special_math_commonregularized_gamma_q ported/special_math_commonbisect_inverse ported/special_math_commonNo implementation has been published with a Handbook test suite for this function.
The recorded environments below distinguish a reading from a same-input comparison. Counts describe captured inputs in each environment; overlapping captures and comparisons are not totals of unique worksheet calls.
| Excel 16.0 build | Platform and CPU | Captured inputs |
|---|---|---|
| 19929 | Windows, bitness not recorded, CPU not recorded | 14 |
| 20131 | Windows, bitness not recorded, AMD Ryzen 7 4800H with Radeon Graphics | 100 |
Agreement on these compared inputs does not establish agreement on unmeasured inputs.
Recorded environments and comparison details.
Windows, bitness not recorded, CPU not recorded
14 captured inputs are indexed for this environment. Capture dates are not recorded. This is a reading count, not a comparison with another build.
Windows, bitness not recorded, AMD Ryzen 7 4800H with Radeon Graphics
100 captured inputs are indexed for this environment. Capture dates: 2026-07-17 to 2026-07-17. This is a reading count, not a comparison with another build.
CHISQ.DIST.RT supplies the forward probability; CHISQ.TEST returns a test p-value directly.
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents