# GAMMADIST

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the gamma distribution.

## Syntax

GAMMADIST(*x*,*alpha*,*beta*,*cumulative*)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *x* | Value at which to evaluate the distribution |
| *alpha* | Alpha parameter of the distribution |
| *beta* | Beta parameter of the distribution |
| *cumulative* | Logical value that determines the form of the function If cumulative is TRUE, then this function returns the cumulative distribution function; if FALSE, it returns the probability mass function. |

## Remarks

The equation for this function is:
![GAMMADIST Equation](https://cdn.mescius.io/document-site-files/images/0ed25d3e-6b2a-4cf0-8f1b-7ed5ab18cf12/artwork/func-gammadist-true.png)

## Data Types

Accepts numeric data for all arguments. Returns numeric data.

## Examples

`GAMMADIST(A5,1,3,FALSE)`
`GAMMADIST(R5C1,2,1,TRUE)`
`GAMMADIST(4,3,2,TRUE)` gives the result 0.3233235838
`GAMMADIST(4,3,2,FALSE)` gives the result 0.1353352832

## Version Available

This function is available in product version 1.0 or later.

## See Also

[BETADIST](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionBETADIST) \| [GAMMAINV](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionGAMMAINV) \| [GAMMALN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionGAMMALN) \| [KURT](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionKURT) \| [POISSON](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionPOISSON) \| [Statistical Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsstats)