# NEGBINOM.DIST Function

Calculates the negative binomial distribution probability

Calculates the negative binomial distribution probability

The NEGBINOM.DIST Function is categorized under Statistical functions. It will calculate the negative binomial distribution probability. It will get the probability mass function or the cumulative distribution function for a negative binomial distribution. For example, using the function, we can find out the probability that when a coin is tossed, we will get 10 heads before we get 12 tails. This guide will break down the Excel negative binomial distribution formula.

For the negative binomial distribution, we will fix the number of successes but uses a variable number of trials. NEGBINOM.DIST will calculate the probability of a given number of failures occurring before a fixed number of successes.

Two forms that are used are:

- The Probability Mass Function – It calculates the probability of there being exactly “f” failures before “s” successes.
- The Cumulative Distribution Function – It calculates the probability of there being at most “f” failures before “s” successes.

In financial analysis, the NEGBINOM.DIST function can be useful in finding out the probability of getting x return from a stock or portfolio before getting a negative return.

**=NEGBINOM.DIST(number_f,number_s,probability_s,cumulative)**

The NEGBINOM.DIST function uses the following arguments:

**Number_f**(required argument) – It is the number of failures that are encountered before number_s successes.**Number_s**(required argument) – It is the required number of successes.**Probability_s**(required argument) – It is the probability of successes in one trial.**Cumulative**(optional argument) – It specifies the type of negative binomial distribution to be calculated. It can either be TRUE (uses the cumulative distribution function) or FALSE (use the probability mass function).

To learn more, launch our free Excel crash course now!

To understand the uses of the NEGBINOM.DIST function, let us consider an example:

Suppose we are given the following data:

The formula for calculating binomial distribution is shown below:

We get the result below:

- The NEGBINOM.DIST function will truncate all numerical values to integers.
- #VALUE! error – Occurs when:
- The number_f, number_s, or probability_s arguments are not recognized as numeric values;
- The cumulative argument provided is not recognized as a numeric or a logical value.

- #NUM! error – Occurs when:
- The number_f provided is less than 0 or the supplied number_s is greater than 1.
- The probability_s provided is less than 0 or greater than 1.

- The NEGBINOM.DIST function was introduced in MS Excel 2010 and hence is unavailable in earlier versions. For older versions, we can use the NEGBINOMDIST function.

Check out CFI’s Free Excel Course if you want to learn more about Excel functions using your own online instructor. You’ll receive step by step instructions and demonstrations on how to become an expert in Excel.

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional resources:

To master the art of Excel, check out CFI's FREE Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.

Launch CFI’s Free Excel Course now to take your career to the next level and move up the ladder!