Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Managing Conditional Formatting Rules in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How to Use Solver Tool in Excel

References

  • How to get address of last cell in range in Excel
  • Count unique text values with criteria
  • Convert text string to valid reference in Excel using Indirect function
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • How to use Excel OFFSET function

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation no punctuation
  • Excel Data validation must begin with
  • Data validation must not exist in list
  • Prevent invalid data entering in specific cells

HYPGEOM.DIST function: Description, Usage, Syntax, Examples and Explanation

by

What is HYPGEOM.DIST function in Excel?

HYPGEOM.DIST function is one of Statistical functions in Microsoft Excel that returns the hypergeometric distribution. HYPGEOM.DIST returns the probability of a given number of sample successes, given the sample size, population successes, and population size. Use HYPGEOM.DIST 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 of HYPGEOM.DIST function

HYPGEOM.DIST(sample_s,number_sample,population_s,number_pop,cumulative)

The HYPGEOM.DIST function syntax has the following arguments:

  • 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     Required. The population size.
  • Cumulative     Required. A logical value that determines the form of the function. If cumulative is TRUE, then HYPGEOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.

HYPGEOM.DIST formula explanation

  • All arguments are truncated to integers.
  • If any argument is nonnumeric, HYPGEOM.DIST returns the #VALUE! error value.
  • If sample_s < 0 or sample_s is greater than the lesser of number_sample or population_s, HYPGEOM.DIST returns the #NUM! error value.
  • If sample_s is less than the larger of 0 or (number_sample – number_population + population_s), HYPGEOM.DIST returns the #NUM! error value.
  • If number_sample ≤ 0 or number_sample > number_population, HYPGEOM.DIST returns the #NUM! error value.
  • If population_s ≤ 0 or population_s > number_population, HYPGEOM.DIST returns the #NUM! error value.
  • If number_pop ≤ 0, HYPGEOM.DIST returns the #NUM! error value.
  • The equation for the hypergeometric distribution is:Equationwhere:

    x = sample_s

    n = number_sample

    M = population_s

    N = number_pop

    HYPGEOM.DIST is used in sampling without replacement from a finite population.

Example of HYPGEOM.DIST function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data Description Result
1 Number of successes in the sample
4 Sample size
8 Number of successes in the population
20 Population size
Formula Description (Result)
=HYPGEOM.DIST(A2,A3,A4,A5,TRUE) Cumulative hypergeometric distribution function, for sample and population in cells A2 through A5. 0.4654
=HYPGEOM.DIST(A2,A3,A4,A5,FALSE) Probability hypergeometric distribution function, for sample and in cells A2 through A5. 0.3633

Post navigation

Previous Post:

CUBEVALUE function: Description, Usage, Syntax, Examples and Explanation

Next Post:

CLEAN function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF with wildcards in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • Invoice status with nested if in Excel
  • Return blank if in Excel
  • FALSE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Display Days in month in Excel
  • How to calculate Next working/business day in Excel
  • Get project midpoint in Excel
  • YEARFRAC function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate workdays per month in Excel

Grouping

  • Map text to numbers in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel

General

  • Find, Select, Replace and Go To Special in Excel
  • 231 Keyboard Shortcut Keys In Excel
  • How to calculate percentage discount in Excel
  • How to count total number of cells in a rectangular range in Excel
  • Basic numeric sort formula in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning