Summary

The Excel GAMMADIST function calculates the gamma distribution. This is a legacy function that was replaced by the GAMMA.DIST function in Excel 2010. Although GAMMADIST is still available for backward compatibility, Microsoft recommends using GAMMA.DIST for new work, as it provides better accuracy. For a detailed explanation of the gamma distribution and practical examples, see the GAMMA.DIST function.

Purpose 

Get the PDF or CDF of the gamma distribution

Return value 

Probability density or cumulative probability value

Syntax

=GAMMADIST(x,alpha,beta,cumulative)
  • x - The value at which to evaluate the distribution.
  • alpha - The shape parameter of the distribution.
  • beta - The scale parameter of the distribution.
  • cumulative - A logical value that determines the form of the function. If TRUE, returns the cumulative distribution function; if FALSE, returns the probability density function.

Using the GAMMADIST function 

The GAMMADIST function calculates values for the gamma distribution, which is a continuous probability distribution commonly used in statistical analysis. The gamma distribution is particularly useful for modeling positive continuous variables and has applications in reliability analysis, queuing theory, and meteorology.

For better accuracy and consistency with other modern statistical functions, it is recommended to use the GAMMA.DIST function. GAMMA.DIST uses the same arguments and provides the same core functionality with improved numerical precision. See the GAMMA.DIST function for more details.

Notes

  • GAMMADIST is a legacy function. For Excel 2010 and later, use the GAMMA.DIST function.
  • If any argument is non-numeric, GAMMADIST returns the #VALUE! error.
  • If x < 0, GAMMADIST returns the #NUM! error.
  • If alpha ≤ 0 or beta ≤ 0, GAMMADIST returns the #NUM! error.
  • In Excel 2007, this is a Statistical function
Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.