Excel 16.0 build 20131
Windows, bitness not recorded, AMD Ryzen 7 4800H with Radeon Graphics
6 captured inputs are indexed for this environment. Capture dates: 2026-07-16 to 2026-07-16. This is a reading count, not a comparison with another build.
Compatibility
Close: 4 of 12 recorded answers differ in the last bits, worst 13 ULP
Everything else matches (6 in the answer bank and 6 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 | GAMMADIST |
| Bulgarian | GAMMADIST |
| Czech | GAMMADIST |
| Danish | GaMMAFORDELING |
| German | GAMMADIST |
| Greek | GAMMADIST |
| English (Australia) | GAMMADIST |
| English (United Kingdom) | GAMMADIST |
| English (United States) | GAMMADIST |
| Spanish | DISTR.GAMMA |
| Estonian | GAMMADIST |
| Finnish | GAMMAJAKAUMA |
| French | LOI.GAMMA |
| Hebrew | GAMMADIST |
| Croatian | GAMMADIST |
| Hungarian | GAMMA.ELOSZLÁS |
| Indonesian | GAMMADIST |
| Italian | GAMMADIST |
| Japanese | GAMMADIST |
| Korean | GAMMADIST |
| Lithuanian | GAMMADIST |
| Latvian | GAMMADIST |
| Norwegian | GAMMADIST |
| Dutch | GAMMA.VERD |
| Polish | ROZKŁAD.GAMMA |
| Portuguese (Brazil) | GAMMADIST |
| Portuguese (Portugal) | DISTGAMA |
| Romanian | GAMMADIST |
| Russian | ГАММАРАСП |
| Slovak | GAMMADIST |
| Slovenian | GAMMADIST |
| Serbian (Latin) | GAMMADIST |
| Swedish | GAMMAFÖRD |
| Thai | GAMMADIST |
| Turkish | GAMADAĞ işlevi |
| Ukrainian | GAMMADIST |
| Vietnamese | GAMMADIST |
| Chinese (Simplified) | GAMMADIST |
| Chinese (Hong Kong) | GAMMADIST |
| Chinese (Traditional) | GAMMADIST |
Names from Microsoft's support site.
GAMMADIST(x, alpha, beta, cumulative)
GAMMADIST(x,alpha,beta,cumulative) evaluates a gamma distribution with positive shape alpha and positive scale beta. TRUE returns the probability up to nonnegative x; FALSE returns a density. Beta has the same units as x. This is the compatibility spelling of GAMMA.DIST.
Shape one is the exponential waiting-time distribution with rate 1/beta. Shapes n/2 and scale two describe a chi-squared distribution with n degrees of freedom; these are mathematical relations, whose worksheet compositions can have different rounding histories.
=GAMMADIST(2,1,2,TRUE) is about 0.632120558828558. With shape one it is an exponential waiting-time CDF with scale two.
Negative x or nonpositive shape or scale gives #NUM!; nonnumeric numeric arguments give #VALUE!. A scale of two is not an exponential rate of two: for shape one it corresponds to rate one half.
The zero-input density needs a separate boundary decision. Mathematically its right-hand limit is zero for alpha>1, 1/beta for alpha=1, and unbounded for 0<alpha<1. The current density fallback evaluates a log expression at zero and can give #NUM!, including at shape one. Do not use a mathematical boundary value as an uncited claim about Excel’s actual return.
The current shared CDF route first forms the binary64 scale ratio y=x/beta:
alpha=0.5, it calls the ERF.PRECISE body at the current binary64 sqrt(y).(y,1). Computing EXPON.DIST(x,1/beta,TRUE) instead forms a different rounded ratio/product.P(alpha,y).The source retains modern-spelling composition controls for the first two branches, including non-dyadic scales. They do not identify every general-shape branch, and the shape-one density is not established by the CDF identity.
For positive x with shape other than one, the current density candidate forms stored y=R(x/beta) and t=R(alpha*LN(y)), then obtains an exponential prefix corresponding to exp(t-y-logGamma(alpha+1)). It finally multiplies that prefix by the separately stored ratio R(alpha/x), with another stored multiplication. The outer ratio/product consumer has discriminating controls; the prefix producer and its return stage remain open. Shape one and zero input have separate fallback code.
For the example x=2,alpha=1,beta=2, y=1, so the mathematical CDF is 1-exp(-1), about 0.632120558828558. That reduction explains the probability; substituting an integer-shape finite sum, a host gamma library or a reciprocal scale is another numerical candidate. The problem report retains general distribution mismatches, and 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.
GAMMADIST · 4 lines · calc-func/src/catalogue/distributions.rs on GitHub55 gammadist "GAMMADIST" (4, 4) [V "x", V "alpha", V "beta", V "cumulative"] |s, a, sv| {
let [x, alpha, beta] = nums::<3>(s, a)?;
out(s, bg::gamma_dist_kernel(x, alpha, beta, flag(s, a, 3)?))
}
nums catalogue/distributionsvalidate_gamma_shape ported/beta_gamma_stats_familygamma_dist_kernel ported/beta_gamma_stats_familyfinite ported/discrete_distexpon_dist_kernel ported/discrete_distbinary_with ported/excel_numericexcel_expm1_internal ported/excel_numericexcel_expm1_spilled ported/excel_numericexpm1_internal_graph ported/excel_numericexcel_x87_add 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/x87add 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_chainsstored_horner ported/normal_dist_commonerf_approx ported/normal_dist_commonerfc_upper ported/normal_dist_commonerf_precise_kernel ported/special_dist_familyln_gamma ported/special_math_commongratio_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_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 | 6 |
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
6 captured inputs are indexed for this environment. Capture dates: 2026-07-16 to 2026-07-16. This is a reading count, not a comparison with another build.
GAMMA.DIST 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