Statistical Excel 2010 ◉ 6 views

=HYPGEOM.DIST()

Returns the probability of a given number of sample successes, given the sample size, population successes, and population size.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=HYPGEOM.DIST(sample_s,number_sample,population_s,number_pop,cumulative)
Hover argument names in the table for details.
Output typeStatistical
Popularity5 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =HYPGEOM.DIST() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download HYPGEOM.DIST.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
sample_s Number Required The number of successes in the sample.
number_sample Number Required The size of the sample.
population_s Number Required The number of successes in the population.
number_pop Number Required The population size.
cumulative Logical 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.

▣ Examples

تابع توزیع تجمعی فوق‌هندسی برای نمونه و جامعه موجود در سلول‌های A2 تا A5 =HYPGEOM.DIST(A2,A3,A4,A5,TRUE)
تابع جرم احتمال فوق‌هندسی برای نمونه و جامعه موجود در سلول‌های A2 تا A5 =HYPGEOM.DIST(A2,A3,A4,A5,FALSE)

✦ Tips

  • All arguments are truncated to integers.
  • The equation for the hypergeometric distribution is: where: x = sample_s n = number_sample M = population_s N = number_pop HYPGEOM.DIST is used in sampling without replacement from a finite population.

⚠ Common Errors

#VALUE! If any argument is nonnumeric, HYPGEOM.DIST returns the #VALUE! error value.
Fix: برای همه آرگومان‌ها مقادیر عددی وارد کنید.
#NUM! 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.
Fix: Correct the input value

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.