Returns a random integer number in the specified range.
Syntax
![]() |
---|
RANDBETWEEN( Integer bottom, Integer top ) → Integer |
The function returns a random value in the interval [bottom…top]. If bottom is greater than top, RANDBETWEEN returns the #NUM! error value. If the specified arguments are not integer, they are automatically truncated.
Formula
![]() |
---|
=RANDBETWEEN(1,100) |
Function Reference
RAND Function