HYPGEOMDIST(x,n,M,N,cumulative)
x: number of successes
n: sample size
M: number of possible successes in the population
N: population size
cumulative: whether to evaluate the mass function or the cumulative distribution function
If x,n,M or N is a non-integer it is truncated. If x,n,M or N < 0 this function returns a #NUM! error. If x > M or n > N this function returns a #NUM! error.
This function is Excel compatible.