BINOM.DIST function
Returns the individual term binomial distribution probability. Use BINOM.DIST in problems with a fixed number of tests or trials, when the outcomes of any trial are only success or failure, when trials are independent, and when the probability of success is constant throughout the experiment. For example, BINOM.DIST can calculate the probability that two of the next three babies born are male.
Syntax
BINOM.DIST(number_s,trials,probability_s,cumulative)
The BINOM.DIST function syntax has the following arguments:

Number_s Required. The number of successes in trials.

Trials Required. The number of independent trials.

Probability_s Required. The probability of success on each trial.

Cumulative Required. A logical value that determines the form of the function. If cumulative is TRUE, then BINOM.DIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
Remarks

Number_s and trials are truncated to integers.

If number_s, trials, or probability_s is nonnumeric, BINOM.DIST returns the #VALUE! error value.

If number_s < 0 or number_s > trials, BINOM.DIST returns the #NUM! error value.

If probability_s < 0 or probability_s > 1, BINOM.DIST returns the #NUM! error value.

The binomial probability mass function is:
where:
is COMBIN(n,x).
The cumulative binomial distribution is:
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.