TX Sheet Control

RAND Function

Function

Return a random number greater than or equal to 0 and less than 1. RAND takes no arguments, and every call returns a different number, so RAND()=RAND() returns FALSE. For a random integer in a range, use RANDBETWEEN.

Syntax

RAND()

Category: Math. Minimum arguments: 0. Maximum arguments: 0.

Available for supported offline calculation.

Examples

=RAND()

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also