Returns an evenly distributed random number greater than or equal to 0 and less than 1. A new random number is returned every time the worksheet is calculated.
Syntax
RAND( )
Remarks
RAND()*(b-a)+a
Examples
To generate a random number greater than or equal to 0 but less than 100:
RAND()*100