Returns the hypergeometric distribution.
HYPGEOM.DIST(X; NSample; Successes; NPopulation; Cumulative)
X is the number of results achieved in the random sample.
NSample is the size of the random sample.
Successes is the number of possible results in the total population.
NPopulation is the size of the total population.
Cumulative : 0 or False calculates the probability density function. Other values or True calculates the cumulative distribution function.
=HYPGEOM.DIST(2;2;90;100;0) yields 0.8090909091. If 90 out of 100 pieces of buttered toast fall from the table and hit the floor with the buttered side first, then if 2 pieces of buttered toast are dropped from the table, the probability is 81%, that both will strike buttered side first.
=HYPGEOM.DIST(2;2;90;100;1) yields 1.