Calculate the probability that values in a range fall within specified limits.
=PROB(x_range, prob_range, lower_limit, [upper_limit])
| Parameter | Description |
|---|---|
x_range |
A range of numeric values representing the possible outcomes. |
prob_range |
A range of probabilities corresponding to the values in x_range (must sum to 1). |
lower_limit |
The lower bound for the probability calculation. |
upper_limit |
[optional] The upper bound for the probability calculation. If omitted, PROB returns the probability that x equals lower_limit. |
=PROB(B5:B15, C5:C15, E5)
=PROB(B5:B15, C5:C15, E5, F5)
If the probabilities in prob_range don't sum to 1, the function returns #NUM! error
=PROB({1,2,3},{0.2,0.3,0.4},2) // returns #NUM!
If x_range and prob_range have different numbers of values, the function returns #N/A error
=PROB({1,2,3},{0.2,0.3},2) // returns #N/A
If any argument is non-numeric or contains non-numeric values (e.g., text), the function returns #NUM! error
=PROB({"1",2,3},{0.2,0.3,0.5},2) // returns #NUM!