Excel - BINOMDIST Function



BINOMDIST Function

The Excel BINOMDIST function will retrieve the binomial distribution probability. It is used to identify the probability of a certain number of successes out of a total number of independent trials, and a successs constant probability is given. For example, it can be used to determine the probability of fault in an electronic machine in a specific shop, predict the probability of students who score more than 90 marks and many more.

The BINOMDIST function replaces the BINOM.DIST function from Excel 2010.

Compatibility

This advanced Excel function is compatible with the following versions of MS-Excel −

  • Excel for Microsoft 365
  • Excel for Microsoft 365 for Mac
  • Excel for the web
  • Excel 2021
  • Excel 2021 for Mac
  • Excel 2019
  • Excel 2019 for Mac
  • Excel 2016

Syntax

The syntax of BINOMDIST function is as follows −

BINOMDIST (number_s,trials,probability_s,cumulative)

Arguments

You can use the following arguments with the BINOMDIST function −

Argument Description Required / Optional
Number_s It denotes the number of successes while giving trials. Required
Trials It specifies the overall number of independent trials. Required
Probability_s It specifies the probability of success for each trial. Required
Cumulative

It specifies the logical value as either True or False.

If the cumulative value is equivalent to TRUE, then the BINOMDIST function retrieves the cumulative distribution function; otherwise, the BINOMDIST retrieves the probability mass function.

Required

Notes

  • If Number_s and Trials are in decimals, these two argument values are rounded to integers.
  • You may also implement a binomial distribution function for K number of successes.
  • If any arguments except the Cumulative argument comprise non-numeric values, then the BINOMDIST function will return the #VALUE error.
  • Either the number_s is less than 0 or greater than trials, then the BINOMDIST function retrieves the #NUM! Error.
  • In case the Probability_s contains a negative value or its value is greater than 1, then the BINOMDIST will retrieve the #NUM! Error.

Examples of BINOMDIST Function

Practice the following examples to learn the use of the BINOMDIST function in Excel.

Example 1

If Number_s and Trials are in decimals, these two argument values are rounded to integers.

Solution

Consider the sample dataset where you must evaluate the binomial probability containing the number of successes as 165.7 out of 1234.43.8 trials, and the probability of success in each trial is 0.1. You may enter the formula =BINOMDIST(C3, C2, C4, C5) and press Enter key to obtain the resulting output as given below −

Excel BINOMDIST Function 1

Excel BINOMDIST Function 2

Here, the number of trials and success values depicted in the C3 and C4 cells will be truncated.

Example 2

You may also implement a binomial distribution function for K number of successes.

Solution

Step 1 − Consider the sample dataset where you can execute the BINOMDIST() function row-wise in the C column.

Excel BINOMDIST Function 3

Step 2 − Enter the formula =BINOMDIST(B3,E2,E3,TRUE) in the C3 cell as given below −

Excel BINOMDIST Function 4

Step 3 − Furthermore, enter a similar formula for the remaining cells range from C4:C10 as shown below.

Excel BINOMDIST Function 5

Note − You can use the Show Formulas option in the Formula Auditing group under the Formulas tab to view formulas in the C column.

Step 4 − Therefore, you can get the binomial distributions for the K number of successes in the range C3:C10.

Excel BINOMDIST Function 6

Example 3

If any arguments except the Cumulative argument comprise non-numeric values, then the BINOMDIST function will return the #VALUE error.

Solution

First, write the binomial and xy" text values in the C3 and C4 cells. Enter the formula =BINOMDIST(C4,C3,C5,C6) in the C7 cell and press the Enter.

Excel BINOMDIST Function 7

Once you enter the BINOMDIST function, the #VALUE! error will be retrieved, as this function doesnt work efficiently for non-numeric arguments. Only the Cumulative argument contains Boolean values that are True or False.

Excel BINOMDIST Function 8

Example 4

Either the number_s is less than 0 or greater than trials, then the BINOMDIST function retrieves the #NUM! Error.

Solution

As the screenshot shows, the Number_s argument contains a negative value of -12 specified in the C4 cell. Then, write the formula =BINOMDIST(C4,C3,C5,C6) in the C7 cell and press the Enter tab.

Excel BINOMDIST Function 9

Therefore, the resulting value is #NUM error if the number of successes contains a negative value or its given value is larger than the number of trials argument in the binomial distribution function.

Excel BINOMDIST Function 10

Example 5

In case the Probability_s contains a negative value or its value is greater than 1, then the BINOMDIST will retrieve the #NUM! Error.

Solution

You may set the Success probability in every trial value to 12 in the C6 cell and enter the formula =BINOMDIST(C4,C3,C5,C6) in the C7 cell and press the Enter tab.

Excel BINOMDIST Function 11

Excel BINOMDIST Function 12

Therefore, the #NUM! Error will be retrieved for this case. The Success probability argument must have a value between 0 and 1.

Advertisements