How to Generate a Random Number in Excel

How to Generate a Random Number in Excel. The "RAND" function in Microsoft Excel allows you to generate a random number in Excel in just a few minutes. By selecting the cell you want to generate a random number into, you can then use the "RAND" function to enter a random number between 0 and 1. Follow the steps below to generate a random number in your Excel spreadsheet.

Step

Open Microsoft Excel 2007, and start a new, blank spreadsheet or open an existing spreadsheet from your files into which you want to generate a random number.

Step

Click the cell you want to generate a random number into so it is selected. The cell will have a thick black line outlining it.

Step

Type "=RAND()" (no quotations) into the "Formula" text box near the top of the Excel screen. This is the function that instructs Excel to enter a random number between 0 and 1 into the selected cell.

Step

Press the "Enter" key on your keyboard. The random number will be generated into the selected cell and you will be taken to the cell beneath it.

Step

Continue the process of generating random numbers into your Excel cells using the same method as outlined above.