

You can prefer the below-given screenshot.Īs values will recalculate, we can only use “ Alt+Ctrl+V” to open the “Paste Special” dialog box to paste as values.įollow the steps given below in the screenshot. To generate random numbers in Excel for the students between 0 and 100, we will use the ‘RANDBETWEEN’ function.įirst, we must select the data, type the formula, =RANDBETWEEN(0,100), and press the “Ctrl + Enter” keys. Top: An integer representing the lower value of the range. The formula of the RANDBETWEEN Function is:īottom: An integer representing the lower value of the range. Like the RAND() function, this function also recalculates when a workbook is changed or opened ( volatile function). Value from a Different Range other than 0 and 1 using RAND()Īs the RAND function returns a random decimal number between 0 and 1 only, if we want the value from a different range, then we can use the following function:įor example, if we have 7 as “a” and 10 as “b,” then the formula would be “ =RAND()*(10-7)+7.” RANDBETWEEN() FunctionĪs the function’s name indicates, this function returns a random integer between given integers.
#RANDOM DATA GENERATOR EXCEL HOW TO#
How to Stop Recalculation of Random Numbers in Excel?Īs the RAND function recalculates, if any change in the sheet is made, we must copy and then paste the formulas as values if we do not want values to be changed every time.

