Google Sheets HYPGEOMDIST Function: Syntax, Examples & Tips

The HYPGEOMDIST function calculates the probability of a given number of successes in a hypergeometric distribution.
Google Sheets
HYPGEOMDIST(num_successes, num_draws, successes_in_pop, pop_size)

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is HYPGEOMDIST?
  3. A Practical Example
  4. HYPGEOMDIST Formula
  5. Result of the Formula
  6. Why Use HYPGEOMDIST?
  7. Key Takeaways:
  8. Example use case

Parameters

num_successes:
The number of successful outcomes in the sample drawn from the population.

num_draws:
The total number of draws or samples taken from the population.

successes_in_pop:
The total number of successful outcomes in the entire population.

pop_size:
The total size of the population from which the sample is drawn.

What is HYPGEOMDIST?

The HYPGEOMDIST function in Google Sheets is a statistical function used to calculate the hypergeometric distribution. This distribution is useful in scenarios where you are sampling without replacement from a finite population. The HYPGEOMDIST function can help you determine the probability of a certain number of successes in a sample drawn from a population containing a specific number of successes.

In simpler terms, HYPGEOMDIST allows you to find the probability of obtaining a specific number of successes in a sample when you know the total number of successes in the population.

A Practical Example

Imagine you are conducting a quality control test on a batch of products. You have a total of 20 products, of which 5 are defective. You want to know the probability of finding exactly 2 defective products when you randomly select 5 products from the batch.

Parameters:

  • Total population size (N): 20
  • Total number of successes in the population (K): 5 (defective products)
  • Sample size (n): 5 (products selected)
  • Number of successes in the sample (k): 2 (defective products found)

HYPGEOMDIST Formula

To achieve this, you would use the HYPGEOMDIST function as follows:

Google Sheets
=HYPGEOMDIST(2, 5, 5, 20)

In this formula:

  • 2 is the number of successes in the sample (defective products found).
  • 5 is the sample size (total products selected).
  • 5 is the total number of successes in the population (defective products).
  • 20 is the total population size (total products).

Result of the Formula

When you apply the HYPGEOMDIST formula, it will return the probability of finding exactly 2 defective products in your sample of 5. The output might look like this:

Google Sheets
0.227

This means there is approximately a 22.7% chance of finding exactly 2 defective products when you randomly select 5 from the batch.

Why Use HYPGEOMDIST?

HYPGEOMDIST is beneficial because it provides a way to calculate probabilities in scenarios where sampling is done without replacement. This is particularly useful in quality control, risk assessment, and any situation where you need to understand the likelihood of specific outcomes based on a finite population.

Key Takeaways:

  • HYPGEOMDIST: A statistical function that calculates the hypergeometric distribution probability.
  • Sampling Without Replacement: Ideal for scenarios where you are selecting items from a finite population.
  • Practical Applications: Useful in quality control, risk assessment, and scenarios requiring probability calculations based on limited data.
  • Understanding Probabilities: Helps in making informed decisions based on the likelihood of various outcomes.

HYPGEOMDIST is an essential function for anyone working with statistical analysis in Google Sheets, providing a powerful way to understand probabilities in finite populations.

Happy analyzing!

Example use case

You have a table with 100 total items, 30 of which are defective. Using HYPGEOMDIST, you can calculate the probability of finding exactly 5 defective items in a sample of 10. This helps in quality control assessments and decision-making processes.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.