# BINOM.DIST.RANGE function

This article describes the formula syntax and usage of the BINOM.DIST.RANGE function (function: A prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations.) in Microsoft Excel.

## Description

Returns the probability of a trial result using a binomial distribution.

## Syntax

`BINOM.DIST.RANGE(trials,probability_s,number_s,[number_s2])`

The BINOM.DIST.RANGE function syntax has the following arguments.

• Trials    Required. The number of independent trials. Must be greater than or equal to 0.
• Probability_s    Required. The probability of success in each trial. Must be greater than or equal to 0 and less than or equal to 1.
• Number_s    Required. The number of successes in trials. Must be greater than or equal to 0 and less than or equal to Trials.
• Number_s2    Optional. If provided, returns the probability that the number of successful trials will fall between Number_s and number_s2. Must be greater than or equal to Number_s and less than or equal to Trials.

## Remarks

• If any arguments are outside of their constraints, BINOM.DIST.RANGE returns the #NUM! error value.
• If any arguments are non-numeric values, BINOM.DIST.RANGE returns the #VALUE! error value.
• The following equation is used:
• In the equation above, N is Trials, p is Probability_s, s is Number_s, s2 is Number_s2, and k is the iteration variable.
• Numeric arguments are truncated to integers.

## Example

The workbook below shows examples of this function. Inspect them, change existing formulas, or enter your own formulas to learn how the function works.

To work more in-depth with the example data in Excel, download the embedded workbook to your computer, and then open it in Excel.

Applies to:
Excel 2013, Excel Online