Excel 16.0 build 19929
Windows, bitness not recorded, CPU not recorded
82 captured inputs are indexed for this environment. Capture dates are not recorded. This is a reading count, not a comparison with another build.
Compatibility
Close: 2 of 5 recorded answers differ in the last bits, worst 2 ULP
Everything else matches (5 workbook cells). Last-bit means a finite number within 16 ULP of Excel's. How we measure this · See the Rust code
| Language | Name in Excel |
|---|---|
| Arabic | GAMMAINV |
| Bulgarian | GAMMAINV |
| Czech | GAMMAINV |
| Danish | GAMMAINV |
| German | GAMMAINV |
| Greek | GAMMAINV |
| English (Australia) | GAMMAINV |
| English (United Kingdom) | GAMMAINV |
| English (United States) | GAMMAINV |
| Spanish | DISTR.GAMMA.INV |
| Estonian | GAMMAINV |
| Finnish | GAMMAJAKAUMA.KÄÄNT |
| French | LOI.GAMMA.INVERSE |
| Hebrew | GAMMAINV |
| Croatian | GAMMAINV |
| Hungarian | INVERZ.GAMMA |
| Indonesian | GAMMAINV |
| Italian | GAMMAINV |
| Japanese | GAMMAINV |
| Korean | GAMMAINV |
| Lithuanian | GAMMAINV |
| Latvian | GAMMAINV |
| Norwegian | GAMMAINV |
| Dutch | GAMMA.INV |
| Polish | ROZKŁAD.GAMMA.ODW |
| Portuguese (Brazil) | GAMMAINV |
| Portuguese (Portugal) | INVGAMA |
| Romanian | GAMMAINV |
| Russian | ГАММАОБР |
| Slovak | GAMMAINV |
| Slovenian | GAMAINV |
| Serbian (Latin) | GAMMAINV |
| Swedish | GAMMAINV |
| Thai | GAMMAINV |
| Turkish | GAMATERS işlevi |
| Ukrainian | GAMMAINV |
| Vietnamese | GAMMAINV |
| Chinese (Simplified) | GAMMAINV |
| Chinese (Hong Kong) | GAMMAINV |
| Chinese (Traditional) | GAMMAINV |
Names from Microsoft's support site.
GAMMAINV(probability, alpha, beta)
GAMMAINV(probability, alpha, beta) inverts the gamma cumulative distribution. Alpha is a positive shape and beta a positive scale. This is the compatibility name.
=GAMMAINV(0.5,1,2) is about 1.38629436111989: the median of the shape-one distribution with scale two is -2*ln(0.5).
Alpha and beta must be positive; nonpositive shape or scale gives #NUM!, while text arguments are documented as #VALUE!. The opened legacy page rejects probabilities outside [0,1]. The current shared helper returns zero at p=0 and rejects p=1 with #NUM!, since no finite upper support endpoint is available.
Microsoft describes this legacy inverse as an iterative search over GAMMADIST with a 100-iteration limit and #N/A on failure. Its current GAMMA.INV page describes 64 iterations and also #N/A. This is a difference in published descriptions of the two spellings; it does not establish a measured change between Excel builds or identify either internal search.
The current helper searches the positive binary64 lattice rather than stopping at a decimal tolerance:
p=0; reject p>=1 or p<0.hi=beta*max(alpha+10*sqrt(alpha)+10,1). The code allows up to 200 doublings while the generic forward value P(alpha,hi/beta) is below p.x. If P(alpha,x/beta)>=p, move the upper encoding to it; otherwise move the lower encoding.For shape one, scale two and probability one half, the mathematical equation is 1-exp(-x/2)=0.5; its solution is -2*ln(0.5), about 1.38629436111989. That explains the scale and the example, not every last bit of the generic forward search.
The inverse callback calls regularized_gamma_p directly. It does not use every special-case wrapper of public GAMMADIST. Its forward approximation, bracket failures and return policy remain separate compatibility obligations; the current problem report still lists distribution mismatches. This is the current implementable candidate, not a recovered Excel search program.
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.
GAMMAINV · 4 lines · calc-func/src/catalogue/distributions.rs on GitHub57 gammainv "GAMMAINV" (3, 3) [V "probability", V "alpha", V "beta"] |s, a, sv| {
let [p, alpha, beta] = nums::<3>(s, a)?;
out(s, bg::gamma_inv_kernel(p, alpha, beta))
}
nums catalogue/distributionsvalidate_gamma_shape ported/beta_gamma_stats_familygamma_inv_kernel ported/beta_gamma_stats_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_p 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 | 82 |
The record contains no same-input comparison between these environments. Reading different inputs on different builds does not establish either a version change or cross-build agreement.
Recorded environments and comparison details.
Windows, bitness not recorded, CPU not recorded
82 captured inputs are indexed for this environment. Capture dates are not recorded. This is a reading count, not a comparison with another build.
GAMMA.INV is the current spelling; EXPON.DIST handles the shape-one waiting time; CHISQ.DIST is a shape/scale specialization.
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents