Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close
Try in the cloud
Try in the cloud

RANDBETWEEN Function

The RANDBETWEEN function is one of the math and trigonometry functions. The function returns a random number greater than or equal to lower-bound and less than or equal to upper-bound.

Syntax

RANDBETWEEN(bottom, top)

The RANDBETWEEN function has the following arguments:

Argument Description
bottom The smallest integer value.
top The largest integer valuew.

Notes

If bottom is a greater than top, the function will return #NUM! error.

How to apply the RANDBETWEEN function.

Examples

The figure below displays the result returned by the RANDBETWEEN function.

RANDBETWEEN Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action