The Excel Binom.Dist.Range function returns the Binomial Distribution probability for the number of successes from a specified number of trials falling into a specified range.
Note: The Binom.Dist.Range function is new in Excel 2013 and so is not available in earlier versions of Excel.
The syntax of the function is:
where the arguments are listed in the table below:
trials    The number of independent trials that are to be done. 
probability_s    The probability of success in one trial (must be ≥ 0 and ≤ 1). 
number_s    The minimum number of successes that you want to calculate the probability for (must be ≤ trials). 
[number_s2]   
An optional argument, defining the maximum number of successes that you want to calculate the probability for. If provided, [number_s2] must be ≥ number_s and ≤ trials. If the [number_s2] argument is omitted, the function calculates the probability of exactly number_s successes. 
Note that, if decimal values are input for the trials, number_s or [number_s2] arguments, these values are truncated to integers by Excel.
The above chart on the right uses the Binomial Distribution Probability Mass Function to show the probability that exactly x heads will be thrown from 100 tosses of a coin.
In the spreadsheet below, the Excel Binom.Dist.Range function is used to evaluate this function for four different ranges of x.
The formulas are shown in the top spreadsheet and the results are shown in the lower spreadsheet.
Formulas:


Results:

Note that, in the above examples:
For further examples of the Excel Binom.Dist.Range function, see the Microsoft Office website.
If you get an error from the Excel Binom.Dist.Range Function, this is likely to be one of the following:
`#NUM!   
Occurs if either:

#VALUE!    Occurs if any of the supplied arguments are nonnumeric. 