Statistical Excel 2010 ◉ 23 views

=NEGBINOM.DIST()

Returns the negative binomial distribution, the probability that there will be Number_f failures before the Number_s-th success, with Probability_s probability of a success. This function is similar to the binomial distribution, except that the number of successes is fixed, and the number of trials is variable. Like the binomial, trials are assumed to be independent. For example, you need to find 10 people with excellent reflexes, and you know the probability that a candidate has these qualifications is 0.3. NEGBINOM.DIST calculates the probability that you will interview a certain number of unqualified candidates before finding all 10 qualified candidates.

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

⬇ Download Sample Workbook

A dedicated .xlsx for =NEGBINOM.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 NEGBINOM.DIST.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

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

◧ Arguments

ArgumentTypeRequiredDescription
number_f Number Required The number of failures.
number_s Number Required The threshold number of successes.
probability_s Number Required The probability of a success.
cumulative Logical Required A logical value that determines the form of the function. If cumulative is TRUE, NEGBINOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.

▣ Examples

▦ Data
CellValueDescription
A2 10 Number of failures
A3 5 Threshold number of successes
A4 0.25 Probability of a success
A5 10 Number of failures
A6 5 Threshold number of successes
A7 0.25 Probability of a success
Cumulative negative binomial distribution for the terms above =NEGBINOM.DIST(A2,A3,A4,TRUE)
Result: 0.3135141
Probability negative binomial distribution for the terms above =NEGBINOM.DIST(A2,A3,A4,FALSE)
Result: 0.0550487

§ Remarks

  • Number_f and number_s are truncated to integers.
  • If any argument is nonnumeric, NEGBINOM.DIST returns the #VALUE! error value.
  • If probability_s < 0 or if probability > 1, NEGBINOM.DIST returns the #NUM! error value.
  • If number_f < 0 or number_s < 1, NEGBINOM.DIST returns the #NUM! error value.
  • The equation for the negative binomial distribution is: where: x is number_f, r is number_s, and p is probability_s.

✦ Tips

  • Number_f and number_s are truncated to integers.
  • The equation for the negative binomial distribution is: where: x is number_f, r is number_s, and p is probability_s.

⚠ Common Errors

#VALUE! If any argument is nonnumeric, NEGBINOM.DIST returns the #VALUE! error value.
Fix: بررسی کنید همه آرگومان‌ها عدد باشند و سلول‌های مرجع حاوی متن یا خالی نباشند.
#NUM! If probability_s < 0 or if probability > 1, NEGBINOM.DIST returns the #NUM! error value. If number_f < 0 or number_s < 1, NEGBINOM.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.