This function generates a random integer between two input values.
Syntax:
=RANDBETWEEN (bottom, top)
Parameter list:
For example, the number 38 may be generated using =RANDBETWEEN(1,50). Each time the worksheet is calculated, RANDBETWEEN generates a new value.
Copy the cells that contain RANDBETWEEN and paste them as values using paste special to prevent random numbers from being changed. Select the cells, input the RANDBETWEEN function, then press Control + Enter to produce a set of random integers in several cells.
Enter RANDBETWEEN in the formulae bar to generate a random number that doesn’t change while the worksheet is computed, then press F9 to transform the formula into its result.
Ask Your Query