# HYPGEOMDIST Function

The HYPGEOMDIST function is one of the statistical functions. It is used to return the hypergeometric distribution, the probability of a given number of sample successes, given the sample size, population successes, and population size.

The HYPGEOMDIST function syntax is:

HYPGEOMDIST(sample-successes , number-sample , population-successes , number-population)

where

sample-successes is the number of the successes in the given sample, a numeric value greater than 0, but less than the lesser of number-sample or population-successes.

number-sample - the size of the sample, a numeric value greater than 0, but less than number-population.

population-successes - the number of the successes in the population, a numeric value greater than 0, but less than number-population.

number-population - the size of the population, a numeric value greater than 0.

The numeric values can be entered manually or included into the cells you make reference to.

To apply the HYPGEOMDIST function,

1. select the cell where you wish to display the result,
2. click the Insert Function icon situated at the top toolbar,
   or right-click within a selected cell and select the Insert Function option from the menu,
   or click the icon situated at the formula bar,
3. select the Statistical function group from the list,
4. click the HYPGEOMDIST function,
5. enter the required arguments separating them by commas,
6. press the Enter button.

The result will be displayed in the selected cell.