Skip to main content

Excel HYPGEOMDIST Function

Author: Amanda Li Last Modified: 2022-12-09

The HYPGEOMDIST function returns the hypergeometric distribution, which is the probability of a given number of successes in the sample, given the sample size, number of successes in the population, and population size.

Note: The HYPGEOMDIST function has been replaced with HYPGEOM.DIST with improved accuracy. Although HYPGEOMDIST is still available in current versions of Excel, you should consider using the new function from now on, because HYPGEOMDIST may not be available in Excel’s future versions.

hypgeomdist function 1


=HYPGEOMDIST(sample_s, number_sample, population_s, number_pop)


  • sample_s (required): The number of successes in the sample.
  • number_sample (required): The size of the sample.
  • population_s (required): The number of successes in the population.
  • number_pop (optional): The size of the population.

Return Value

The HYPGEOMDIST function returns a numeric value.

Function Notes

  • If any argument is not an integer, the HYPGEOMDIST will truncate it to an integer.
  • HYPGEOMDIST returns the #VALUE! error value if any argument is non-numeric.
  • HYPGEOMDIST returns the #NUM! error value if:
    • Any of the argument is less than 0.
    • number_sample > number_pop.
    • population_s > number_pop.


To calculate the hypergeometric distribution for the given data as shown in the table below, please copy or enter the below formula in the result cell (D6), and press Enter to get the result.


hypgeomdist function 2

Also, you can type the actual sample_s, number_sample, population_s, and number_pop values in the formula as shown below.


Related functions

Excel NORM.S.INV Function

The NORM.S.INV calculates and returns the inverse of the standard normal cumulative distribution that has an arithmetic mean of 0 and standard deviation of 1 with a given probability.

Excel LOGNORM.DIST Function

The LOGNORM.DIST function calculates the lognormal distribution for a given value of x. We can use this function to analyze data that has been logarithmically transformed.

Excel LOGNORM.INV Function

The LOGNORM.INV function returns the inverse lognormal distribution for a given value of x. We can use the lognormal distribution to analyze data that has been logarithmically transformed.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations