HYPGEOMDIST Function in Excel: Hypergeometric (Older Name)

HYPGEOMDIST Function in Excel: Hypergeometric (Older Name) 1
⏱ 1 min readUpdated 5 October 2026

StatisticsLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. HYPGEOMDIST in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions

HYPGEOMDIST returns the probability of k successes when sampling without replacement. It is a compatibility function: Excel keeps it so workbooks from Excel 2007 and earlier still calculate, but Microsoft recommends HYPGEOM.DIST for new work. Both give the same result.

Advertisement

Syntax

=HYPGEOMDIST(sample_s, number_sample, population_s, number_pop)
Argument What it means
sample_s k
number_sample Sample size
population_s Successes in population
number_pop Population

Examples

Example 1

=ROUND(HYPGEOMDIST(A2,B2,C2,D2),4)

Result: 0.8147. See the worked example table below for more cases.

💡 For new workbooks use HYPGEOM.DIST: it gives the same answer and is the name Microsoft keeps documenting.

HYPGEOMDIST in practice

Where you will use it

  • Opening and checking older workbooks that use HYPGEOMDIST
  • Understanding formulas shared by colleagues on older Excel versions
  • Knowing when to swap in HYPGEOM.DIST for clarity

Worked example

kSampleDefectsLotFormulaResult
0205500=ROUND(HYPGEOMDIST(A2,B2,C2,D2),4)0.8147
1205500=ROUND(HYPGEOMDIST(A3,B3,C3,D3),4)0.1712
250101000=ROUND(HYPGEOMDIST(A4,B4,C4,D4),4)0.0743

Results calculated in Excel. Same result as HYPGEOM.DIST.

Mistakes people make

MistakeWhat to do instead
Using HYPGEOMDIST in new filesPrefer HYPGEOM.DIST: same result, clearer name, and the function Microsoft keeps improving
Mixing old and new names in one modelPick one style per workbook so formulas are easy to audit

HYPGEOM.DIST

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong