
In this article
GAMMA extends factorials to non-whole numbers: GAMMA(n) = (n-1)! for whole n.
Advertisement
Syntax
=GAMMA(number)
| Argument | What it means |
|---|---|
number |
Any number except 0 and negative integers |
Examples
Example 1
=ROUND(GAMMA(A2),4)
Result: 24. See the worked example table below for more cases.
GAMMA in practice
Where you will use it
- Advanced statistics formulas
- Engineering
- Teaching factorials
Worked example
| n | Formula | Result |
|---|---|---|
| 5 | =ROUND(GAMMA(A2),4) | 24 |
| 0.5 | =ROUND(GAMMA(A3),4) | 1.7725 |
| 4.5 | =ROUND(GAMMA(A4),4) | 11.6317 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Zero or negative integers | #NUM! |
| Expecting n! | GAMMA(5) = 4! = 24 |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Advertisement
✨ Ask AI about this article
Stuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong