CHIINV(p,dof)
The CHIINV function returns the inverse of the one-tailed probability of the chi-squared distribution.
If @p < 0 or @p > 1 or @dof < 1 CHIINV returns #NUM! error.
CHIDIST , CHITEST