Returns a random number greater than or equal to 0 and less than 1.
Syntaxe
RAND()Arguments
The RAND function generates a new random decimal number every time the worksheet is calculated. It does not require any arguments and is commonly used to simulate data or generate random values within a specific range.
=RAND()→0.452189Returns a random decimal between 0 and 1.
=RAND()*100→72.34512Returns a random number between 0 and 100.
Select a cell
Click on the cell where you want the random number to appear.
Enter the function
Type =RAND() and press Enter.
RAND is a volatile function, meaning it recalculates whenever any change is made to the worksheet.