Compatibility
Excel 2007 (Compatibility)
◉ 26 views
=GAMMAINV()
Returns the inverse of the gamma cumulative distribution. If p = GAMMADIST(x,...), then GAMMAINV(p,...) = x. You can use this function to study a variable whose distribution may be skewed.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2021Excel 2021 for MacExcel 2019Excel 2019 for MacExcel 2016
=GAMMAINV(probability,alpha,beta)
Hover argument names in the table for details.
Output typeNumber
Popularity12 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =GAMMAINV() 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 |
|---|---|---|---|
probability |
Number | Required | The probability associated with the gamma distribution. |
alpha |
Number | Required | A parameter to the distribution. |
beta |
Number | Required | A parameter to the distribution. If beta = 1, GAMMAINV returns the standard gamma distribution. |
▣ Examples
▦ Data
| Cell | Value | Description |
|---|---|---|
A2 |
0.068094 | Probability associated with the gamma distribution |
A3 |
9 | Alpha parameter to the distribution |
A4 |
2 | Beta parameter to the distribution |
A5 |
0.068094 | Probability associated with the gamma distribution |
A6 |
9 | Alpha parameter to the distribution |
A7 |
2 | Beta parameter to the distribution |
Inverse of the gamma cumulative distribution for the probability, alpha, and beta arguments in A2, A3, and A4.
=GAMMAINV(A2,A3,A4)
Result:
10.0000112
§ Remarks
- If any argument is text, GAMMAINV returns the #VALUE! error value.
- If probability < 0 or probability > 1, GAMMAINV returns the #NUM! error value.
- If alpha ≤ 0 or if beta ≤ 0, GAMMAINV returns the #NUM! error value.
- Given a value for probability, GAMMAINV seeks that value x such that GAMMADIST(x, alpha, beta, TRUE) = probability. Thus, precision of GAMMAINV depends on precision of GAMMADIST. GAMMAINV uses an iterative search technique. If the search has not converged after 100 iterations, the function returns the #N/A error value.
✦ Tips
- This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. Although this function is still available for backward compatibility, you should consider using the new functions from now on, because this function may not be available in future versions of Excel.
⚠ Common Errors
#VALUE!
If any argument is text, GAMMAINV returns the #VALUE! error value.
Fix: همه آرگومانها را بررسی کنید و مقدار عددی وارد کنید.
#NUM!
If probability < 0 or probability > 1, GAMMAINV returns the #NUM! error value. If alpha ≤ 0 or if beta ≤ 0, GAMMAINV returns the #NUM! error value.
Fix: Between 0 and 1
#N/A
If the search has not converged after 100 iterations, the function returns the #N/A error value.
Fix: مقادیر ورودی را بررسی کنید یا با مقادیر probability متفاوت دوباره تلاش کنید.
💬 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!