*Figure 1. of the Randbetween Function in Excel.*

The Excel Randbetween Function determines a random number integer between the number range we have specified. This tutorial will step through the process of generating random numbers that fall between two specified values

**Generic Formula**

**=RANDBETWEEN(lower,upper)**

The Randbetween operation syntax consists of the following arguments;

- Lower (required) – The smallest number integer within the range we have specified.
- Upper (required) – The largest number integer within the range we have specified.

**How to use the Randbetween Function in Excel.**

In the event that we are required to generate random number integers between 1-100, follow these simple steps;

- Select any cell in our Excel sheet. In the example illustrated below we have selected cell A1.
- In cell A2, insert the following formula
**=RANDBETWEEN(1,100)**

* Figure 2. of the Randbetween Function in Excel.*

- Copy the operation syntax down the entire cells in the column for more results (as illustrated above)

In the event that we are required to generate random number integers between (40-85), follow these simple steps;

- Select any cell in our Excel sheet. In the example illustrated below we have selected cell A1.
- Input the formula syntax

into the formula bar for cell A1, then press Enter.**=RANDBETWEEN(40,85)**

* Figure 3. of the Randbetween Function in Excel.*

- Copy the operation syntax down the entire cells in the column for more results (as illustrated above)

**Note**

The Excel RANDBETWEEN function will by default, generate new random number integers whenever we effect a change on our worksheet. This includes any editing made on our worksheet, also also when we are simply opening our worksheet.

* Figure 4. of Final Result*

**Instant Connection to an Expert through our Excelchat Service**

Our live Excelchat Service is here for you. We have Excel Experts available 24/7 to answer any Excel questions you may have. Guaranteed connection within 30 seconds and a customized solution for you within 20 minutes

## Leave a Comment