You can use this function to study a variable whose distribution may be skewed.
If any argument is text, Gamma_Inv returns the #VALUE! error value.
If probability < 0 or probability > 1, Gamma_Inv returns the #NUM! error value.
If alpha ≤ 0 or if beta ≤ 0, Gamma_Inv returns the #NUM! error value.
Given a value for probability, Gamma_Inv seeks that value x such that GAMMA_DIST(x, alpha, beta, TRUE) = probability. Thus, precision of Gamma_Inv depends on precision of Gamma_Dist. Gamma_Inv uses an iterative search technique. If the search has not converged after 100 iterations, the function returns the #N/A error value.
https://docs.microsoft.com/en-us/office/vba/api/excel.worksheetfunction.gamma_inv
您可以使用 VBA 在代码中添加一些控件,例如 MIN 和 MAX。