This article describes the formula syntax and usage of the GAMMA function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.
Return the gamma function value.
The GAMMA function syntax has the following arguments.
- Number Required. Returns a number.
- GAMMA uses the following equation:
- Г(N+1) = N * Г(N)
- If Number is a negative integer or 0, GAMMA returns the #NUM! error value.
- If Number contains characters that are not valid, GAMMA returns the #VALUE! error value.
The workbook below shows examples of this function. Inspect them, change existing formulas, or enter your own formulas to learn how the function works.
To work more in-depth with the example data in Excel, download the embedded workbook to your computer, and then open it in Excel.
Top of Page