# GAMMA.DIST

## Content

This function returns the gamma distribution.

## Syntax

`GAMMA.DIST(x, alpha, beta, cumulative)`

## Arguments

This function has these arguments:

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

## Remarks

The equation for this function is:
![](https://cdn.mescius.io/document-site-files/images/8d606653-16a0-474d-b9dc-e2b4d01c2446/images/Func-GAMMADIST-True.png)

## Examples

`GAMMA.DIST(A5,1,3,FALSE)`
`GAMMA.DIST(R5C1,2,1,TRUE)`
`GAMMA.DIST(4,3,2,TRUE)` gives the result 0.3233235838169362
`GAMMA.DIST(4,3,2,FALSE)` gives the result 0.1353352832366127