Returns a random number greater than or equal to 0 and less than 1.
Ta funkcja działa w Arkuszach Google tak samo jak w Excelu — ta sama składnia i argumenty.
RAND()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()Wynik: 0.452189
Returns a random decimal between 0 and 1.
=RAND()*100Wynik: 72.34512
Returns a random number between 0 and 100.
RAND is a volatile function, meaning it recalculates whenever any change is made to the worksheet.