Compatibility function

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

Older function. NEGBINOMDIST still works, but for new workbooks use NEGBINOM.DIST.

Syntax

NEGBINOMDIST(number_f, number_s, probability_s)
ArgumentWhat it means
number_fRequiredThe number of failures. Decimals are truncated.
number_sRequiredThe target number of successes.
probability_sRequiredThe 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

D2fx=NEGBINOMDIST(A2, B2, C2)
ABCD
1FailuresSuccessesp
21050.250.055049

Result: 0.055049

C(14, 4) · 0.25⁵ · 0.75¹⁰ = 0.055049 (formatted to 6 decimals).

2Sales calls before the 2nd sale

D2fx=NEGBINOMDIST(A2, B2, C2)
ABCD
1Unsuccessful callsSales neededClose rate
2420.20.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).

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishNEGBINOMFORDELING
DutchNEG.BINOM.VERD
FinnishBINOMIJAKAUMA.NEG
FrenchLOI.BINOMIALE.NEG
GermanNEGBINOMVERT
HungarianNEGBINOM.ELOSZL
ItalianDISTRIB.BINOM.NEG
Norwegian (Bokmål)NEGBINOM.FORDELING
PolishROZKŁAD.DWUM.PRZEC
Portuguese (Brazil)DIST.BIN.NEG
Portuguese (Portugal)DIST.BIN.NEG
RussianОТРБИНОМРАСП
SwedishNEGBINOMFÖRD
TurkishNEGBİNOMDAĞ