Practice free

NEGBINOMDIST function

NEGBINOMDIST returns the probability of a given number of misses before you reach a set number of hits, such as calls before three sales. It is a compatibility function; NEGBINOM.DIST replaces it in new workbooks.

Example

Read it as a sentence: find the chance of exactly the number in D1 failures before the 3rd success when each try has a 0.5 chance, which gives 0.125.

Practice this in the app

Syntax

NEGBINOMDIST(number_f, number_s, probability_s)

number_f (required)
Number of failures.
number_s (required)
Target number of successes.
probability_s (required)
Success probability on each trial.

Returns: Probability of that many failures before the target success count.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=NEGBINOMDIST(2,3,0.5) 0.1875 Working example
=NEGBINOMDIST("2",3,0.5) 0.1875 Text-number in first arg
=NEGBINOMDIST({2,2},3,0.5) 0.1875 Array in first arg (lifts, spills)
=NEGBINOMDIST(Data!D1,3,0.5) 0.125 Blank cell as first arg
=NEGBINOMDIST("abc",3,0.5) #VALUE! Non-numeric text in first arg
=NEGBINOMDIST(NA(),3,0.5) #N/A Error in first arg
=NEGBINOMDIST(-1,3,0.5) #NUM! Negative failures
=NEGBINOMDIST(2,3,1) #NUM! Probability 1

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • Superseded by NEGBINOM.DIST; use that in new workbooks.
  • Counts failures, not total trials.

Where it works

Excel
NEGBINOMDIST is in every version of Excel from 2007 on. Compatibility function: still works in every version, but newer replacements exist.
Google Sheets
Same name, same behaviour for everyday use.

Part of Compatibility functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .