Statistical
Excel 2013
◉ 22 views
=GAMMA()
Return the gamma function value.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=GAMMA(number)
Hover argument names in the table for details.
Output typeNumber
Popularity3 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =GAMMA() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
number |
Number | Required | Returns a number. |
▣ Examples
Returns the gamma function value of 2.5 (1.329).
=GAMMA(2.5)
Result:
1.329
Returns the gamma function value of -3.75 (0.268).
=GAMMA(-3.75)
Result:
0.268
Returns the #NUM! error value, because 0 is not a valid argument.
=GAMMA(0)
Result:
#NUM!
Returns the #NUM! error value, because a negative integer is not a valid argument.
=GAMMA(-2)
Result:
#NUM!
§ Remarks
- 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.
✦ Tips
- GAMMA uses the following equation:
- Г(N+1) = N * Г(N)
⚠ Common Errors
#NUM!
If Number is a negative integer or 0, GAMMA returns the #NUM! error value.
Fix: Correct the input value
#VALUE!
If Number contains characters that are not valid, GAMMA returns the #VALUE! error value.
Fix: برای Number مقدار عددی معتبر وارد کنید و ورودیهای متنی را اصلاح کنید.
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!