0% found this document useful (0 votes)
69 views

Excel Randbetween Function

The RANDBETWEEN function in Excel generates random numbers within a specified range. The syntax is =RANDBETWEEN(Bottom, Top) where Bottom is the lowest number and Top is the highest number. An example shows how to use the RANDBETWEEN function to generate a random number between 1 and 10 by selecting the cell, choosing the RANDBETWEEN function from the Formulas tab, entering 1 for the bottom and 10 for the top number, and pressing F9 to generate another random number.

Uploaded by

Mohd Nazri Salim
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views

Excel Randbetween Function

The RANDBETWEEN function in Excel generates random numbers within a specified range. The syntax is =RANDBETWEEN(Bottom, Top) where Bottom is the lowest number and Top is the highest number. An example shows how to use the RANDBETWEEN function to generate a random number between 1 and 10 by selecting the cell, choosing the RANDBETWEEN function from the Formulas tab, entering 1 for the bottom and 10 for the top number, and pressing F9 to generate another random number.

Uploaded by

Mohd Nazri Salim
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

If you want to generate random numbers in Excel between, say 1 and 10, use the RANDBETWEEN function.

This function allows you to specify the range of numbers it is to pick from. The syntax for the RAND function is: = RANDBETWEEN (Bottom, Top) Bottom - the lowest number the function is to use. Top - the highest number the function is to use.

Figure 1: Example for RANDBETWEEN

Example Using Excel's RANDBETWEEN Function: 1. Click on cell E1 in the spreadsheet - the location where the results will be displayed. 2. Click on the Formulas tab of the ribbon menu. 3. Choose Math & Trig from the ribbon to open the function drop down list. 4. Click on RANDBETWEEN in the list to bring up the function's dialog box. 5. Click on the "Bottom" line in the dialog box. 6. Type the number 1 (one) on this line. 7. Click on the "Top" line in the dialog box. 8. Type the number 10 (ten) on this line. 9. Click OK. 10. A random number between 1 and 10 should appear in cell E1. 11. To generate another random number, press the F9 key on the keyboard. 12. When you click on cell E1 the complete function = RANDBETWEEN ( 1 , 10 ) appears in the formula bar above the worksheet.

You might also like