Returns an integer random number within a specified range.
Syntax
bottom: The minimum value in the given range. Eg., 100
Remarks
The result values will change every time a function is recalculated.
Examples
|
Formula |
Result |
|
=RANDBETWEEN(5;10) |
9 |
|
=RANDBETWEEN(100;1000)/35 |
12.142857143 |
|
=RANDBETWEEN(-2;3) |
-1 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions