 # How to Get random numbers between two numbers in Excel

The RANDBETWEEN returns a random whole number between specified range. RANDBETWEEN Syntax

=RANDBETWEEN(lower range, upper range)

RANDBETWEEN Example.

Lets say I want to get a random number or list of numbers, between -20 and 20.

Write this RANDBETWEEN formula in excel

=RANDBETWEEN(-20,20)

And you’ll have a random number between -20 and 20.

• RANDBETWEEN refreshes every time when something changes in the workbook.
• RANDBETWEEN function is mostly used to randomize a list in Excel or generate a random whole number

So, yeah you can use this function to random numbers between two ranges. Feel free to ask any questions about randomizing anything here.

Relative Articles:

Excel Random Selection: How to Get Random Sample From a Dataset in Excel

How to Get Random numbers between two numbers in Excel

How to Generate Random Phone Numbers

Popular Articles:

50 Excel Shortcuts to Increase Your Productivity

How to use the VLOOKUP Function in Excel

How to use the COUNTIF function in Excel

How to use the SUMIF Function in Excel

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.