SheetRocks
Documentation/Formulas/RAND

RAND

Returns a random number greater than or equal to 0 and less than 1.

Syntax

RAND()

Examples

Generate random number between 0 and 1

=RAND()
Result ⇒ 0.8364

Random number between 1 and 10

=RAND() * 9 + 1
Result ⇒ 4.4886

Random integer between 1 and 100

=INT(RAND() * 100) + 1
Result ⇒ 91

Related Functions

Other Math functions:


← Back to Formula Reference