NEGBINOMDIST function
Returns the probability of exactly a number of failures before a set number of successes. Replaced by NEGBINOM.DIST.
Available in All versions of Excel, including Microsoft 365 and Excel for the web (kept for compatibility)
In every Excel versionWorks in Google Sheets
Syntax
NEGBINOMDIST(number_f, number_s, probability_s)| Argument | What it means | |
|---|---|---|
number_f | Required | The number of failures. Decimals are truncated. |
number_s | Required | The target number of successes. |
probability_s | Required | The probability of success on each trial. |
Returns: The probability of exactly number_f failures before the number_s-th success.
How NEGBINOMDIST works
The negative binomial distribution flips the binomial question around. Instead of fixing the number of trials and counting successes, it fixes the number of successes you need and asks how many failures you will suffer on the way. Example: a salesperson closes 20% of calls — what is the chance of exactly 4 unsuccessful calls before the 2nd sale?
The formula is C(f + s − 1, s − 1) · p^s · (1 − p)^f. NEGBINOMDIST only returns the probability of an exact number of failures; for "at most" you need to add several values or use the modern function.
Compatibility note: NEGBINOMDIST is one of the older statistical functions that Excel 2010 moved to the Compatibility group. It still works in every version, but for new workbooks Microsoft recommends NEGBINOM.DIST. Add FALSE as a fourth argument for the same result: NEGBINOM.DIST(number_f, number_s, probability_s, FALSE). TRUE gives the cumulative probability.
Examples
1Failures before the 5th success
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Failures | Successes | p | |
| 2 | 10 | 5 | 0.25 | 0.055049 |
Result: 0.055049
C(14, 4) · 0.25⁵ · 0.75¹⁰ = 0.055049 (formatted to 6 decimals).
2Sales calls before the 2nd sale
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Unsuccessful calls | Sales needed | Close rate | |
| 2 | 4 | 2 | 0.2 | 0.0819 |
Result: 0.0819
The chance of exactly 4 failed calls before the 2nd sale (so the sale happens on call 6) is C(5,1) · 0.2² · 0.8⁴ = 0.0819 (formatted to 4 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | probability_s outside 0–1, number_f < 0, or number_s < 1. | Check the inputs. |
#VALUE! | Non-numeric argument. | Check the inputs. |
Tips
- Count failures, not total trials: total trials = number_f + number_s.
Questions
Should I still use NEGBINOMDIST?
Only if the workbook must open in Excel 2007 or earlier. Otherwise use NEGBINOM.DIST(..., FALSE), which gives the same result and makes the intent clearer to the next person who reads the formula.
Will NEGBINOMDIST stop working?
There is no announced removal date. Microsoft keeps compatibility functions so old workbooks keep calculating, but they get no new features.
Google Sheets
NEGBINOMDIST also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
NEGBINOMDIST in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | NEGBINOMFORDELING |
| Dutch | NEG.BINOM.VERD |
| Finnish | BINOMIJAKAUMA.NEG |
| French | LOI.BINOMIALE.NEG |
| German | NEGBINOMVERT |
| Hungarian | NEGBINOM.ELOSZL |
| Italian | DISTRIB.BINOM.NEG |
| Norwegian (Bokmål) | NEGBINOM.FORDELING |
| Polish | ROZKŁAD.DWUM.PRZEC |
| Portuguese (Brazil) | DIST.BIN.NEG |
| Portuguese (Portugal) | DIST.BIN.NEG |
| Russian | ОТРБИНОМРАСП |
| Swedish | NEGBINOMFÖRD |
| Turkish | NEGBİNOMDAĞ |