Excel Random Number Between

Leave a comment

In this post we will generate random numbers for an Excel speadsheet.

In Excel, go to the cell or select the range where you would like the random number to occur.

Enter the formula:

=RANDBETWEEN(lowernumber, uppernumber)

For example, if we want to generate a number between 0 and 100, we would enter:

=RANDBETWEEN(1, 100)

Press Enter, or if you have selected multiple cells, press CTRL-ENTER. You will see the random numbers generated:

If you need to remove the formula from the cell/cells, select the cells, copy and then paste the values into a new cell:

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

Your email address will not be published. Required fields are marked *