=HYPGEOMDIST(sample_s,number_sample,population_s,number_pop)
=HYPGEOM.DIST(8,20,100,8,TRUE)
The HYPGEOM.DIST function is used to calculate the cumulative probability of a sample and population in cells. For example, if you have a population of 100 people and a sample of 20 people, and you want to know the probability that at least 8 of those 20 people are from the population, you would use the HYPGEOM.DIST function. This will return the cumulative probability that at least 8 of the 20 people are from the population.
=HYPGEOM.DIST(10,10,200,10,TRUE)
The HYPGEOM.DIST function can also be used to calculate the probability of a sample being drawn from a population. For example, if you have a population of 200 people and a sample of 10 people, and you want to know the probability that all 10 of those 10 people are from the population, you would use the HYPGEOM.DIST function. This will return the cumulative probability that all 10 of the 10 people are from the population.
The HYPGEOM.DIST function calculates the probability of a given number of sample successes given the sample size, population successes, and population size of a finite population and returns the hypergeometric distribution.