Excel 16.0 build 20131
Windows, bitness not recorded, AMD Ryzen 7 4800H with Radeon Graphics
204 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.
Statistical functions
Known larger differences on 155 of 209 recorded answers
Of 209 recorded answers (204 in the answer bank and 5 workbook cells), 155 do not match: 7 differ by more than 16 ULP, 148 differ by at most 16 ULP. How we measure this · See the Rust code
| Language | Name in Excel |
|---|---|
| Arabic | GAMMA.INV |
| Bulgarian | GAMMA.INV |
| Czech | GAMMA.INV |
| Danish | GAMMA.INV |
| German | GAMMA.INV |
| Greek | GAMMA.INV |
| English (Australia) | GAMMA.INV |
| English (United Kingdom) | GAMMA.INV |
| English (United States) | GAMMA.INV |
| Spanish | INV.GAMMA |
| Estonian | GAMMA.INV |
| Finnish | GAMMA.JAKAUMA.KÄÄNT |
| French | LOI.GAMMA.INVERSE.N |
| Hebrew | GAMMA.INV |
| Croatian | GAMMA.INV |
| Hungarian | GAMMA.INVERZ |
| Indonesian | GAMMA.INV |
| Italian | GAMMA.INV |
| Japanese | GAMMA.INV |
| Korean | GAMMA.INV |
| Lithuanian | GAMMA.INV |
| Latvian | GAMMA.INV |
| Norwegian | GAMMA.INV |
| Dutch | GAMMA.INV.N |
| Polish | ROZKŁ.GAMMA.ODWR |
| Portuguese (Brazil) | GAMMA.INV |
| Portuguese (Portugal) | INV.GAMA |
| Romanian | GAMMA.INV |
| Russian | ГАММА.ОБР |
| Slovak | GAMMA.INV |
| Slovenian | GAMMA.INV |
| Serbian (Latin) | GAMMA.INV |
| Swedish | GAMMA.INV |
| Thai | GAMMA.INV |
| Turkish | GAMA.TERS |
| Ukrainian | GAMMA.INV |
| Vietnamese | GAMMA.INV |
| Chinese (Simplified) | GAMMA.INV |
| Chinese (Hong Kong) | GAMMA.INV |
| Chinese (Traditional) | GAMMA.INV |
Names from Microsoft's support site.
GAMMA.INV(probability, alpha, beta)
GAMMA.INV(probability,alpha,beta) returns a gamma-distribution quantile for positive shape alpha and positive scale beta. It seeks the x whose lower cumulative probability is the requested p. Beta scales x’s units, rather than supplying an exponential rate.
=GAMMA.INV(0.5,1,2) is about 1.3862943611. The mathematical shape-one CDF is 1-exp(-x/2), so its median solves x=-2*ln(0.5).
=GAMMA.INV(0.5,1,4) is about 2.7725887222. Doubling the scale doubles the mathematical quantile, though the current search has its own stored path.
Microsoft documents #VALUE! for a text argument, #NUM! for nonpositive shape or scale and for p outside zero to one. The current helper returns zero at p=0 and #NUM! at p=1, where there is no finite mathematical gamma quantile.
The opened modern page documents an iterative search limit of 64 tries followed by #N/A; the legacy GAMMAINV page describes 100 tries. This documentation difference is not a measured change between named Excel builds, and the current helper uses its own bracket and adjacent-value search.
The current inverse callback is the generic lower gamma ratio. It does not call the public GAMMA.DIST wrapper, whose half-shape and shape-one cases have separate ERF and exponential paths.
lo=0 and hi=beta*max(alpha+10*sqrt(alpha)+10,1).F(x)=regularized_gamma_p(alpha,D(x/beta)). While F(hi) is below p, double hi. The current source permits 200 expansion checks; extreme-parameter bracketing and nonfinite callbacks remain explicit limitations.For alpha=1, beta=2 and p=0.5, the mathematical equation gives about 1.38629436111989. That explains the example. Its numerical candidate still depends on the generic forward callback and upper-adjacent return, rather than an exact inverse exponential formula.
A bracketed Newton method or a residual-based stopping rule is another reasonable mathematical solver. Changing the callback to the public CDF’s special branches is also a separate numerical candidate. Forward-ratio errors, conditioning in the tails, bracket extremes and remaining inverse mismatches remain open; no whole-function Handbook suite is published.
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.
GAMMA.INV · 4 lines · calc-func/src/catalogue/distributions.rs on GitHub56 gamma_inv "GAMMA.INV" (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 |
|---|---|---|
| 20131 | Windows, bitness not recorded, AMD Ryzen 7 4800H with Radeon Graphics | 204 |
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, AMD Ryzen 7 4800H with Radeon Graphics
204 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.
GAMMA.DIST supplies the forward distribution. GAMMAINV is the compatibility spelling. CHISQ.INV uses gamma shape df/2 and scale two; BETA.INV inverts a bounded distribution.
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents