Skip to main content
← All functions

HYPGEOMDIST function

Returns the hypergeometric distribution. HYPGEOMDIST returns the probability of a given number of sample successes, given the sample size, population successes, and population size. Use HYPGEOMDIST for problems with a finite population, where each observation is either a success or a failure, and where each subset of a given size is chosen with equal likelihood.

Syntax

HYPGEOMDIST(sample_s, number_sample, population_s, number_pop)

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
sample_sYesRequired. The number of successes in the sample.1
number_sampleYesRequired. The size of the sample.4
population_sYesRequired. The number of successes in the population.8
number_popYesRequired. The population size.20

Try HYPGEOMDIST

Recognize the native zero-draw boundary

=HYPGEOMDIST(A2,B2,C2,D2)

The mathematical empty sample has zero marked records with certainty. The documented Excel HYPGEOM function instead rejects a zero draw-size argument; handle that model case with an explicit IF before calling the function.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

HYPGEOMDIST · top-level call

=HYPGEOMDIST(A2,B2,C2,D2)

1 / 4 · sample_s

Required. The number of successes in the sample.

HYPGEOMDIST reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.