How to Use Rand Function in Excel

In this lesson, you can learn how to use the RAND function in Excel. The RAND function returns an equally distributed random number that is either greater than or equal to 0 and less than 1. A new random real number will be returned every time it is recalculated.

RAND function draws a value between 0 and 1. The Syntax is RAND(), and there are no arguments for it.

Rand function syntax

=RAND()

Since the operation is done from scratch each time per sheet, it is best to immediately convert it into value. Otherwise it draws a new value each time you change the data in the file. Often the result of this function is multiplied by or divided to obtain an order of magnitude of numbers that we are interested in

  • =RAND()*1000
  • =0.5+RAND()/10
  • =RAND()*(100-50)+50
  • =RAND()*(A1-A2)+A2
  • =INT(RAND()*(A1-A2)+A2)

The function is sometimes used most often to create a variety of data, which look realistic. Most of the data in Best Excel Tutorial was created using this function.

Examples of Rand function

Standard RAND Formula

We would like to know the rand, which is why we are using the RAND function.
Standard RAND Formula

Numbers and RAND

This is for finding out the even numbers with the rand function.

Numbers and RAND

Evenly 100

This is for finding out the even numbers for 100, with the rand function.

See also  How to Use Pmt Function in Excel

Evenly 100

RAND Function with Flexibilities

This is to try and find out the rand, since we have already layout different data.

RAND Function with Flexibilities

SUMPRODUCT and RAND

We’d have different numbers that have been layout, and would like to know what it would mean for finding answers.

SUMPRODUCT and RAND

SUM and RAND

The data is layout, and we would like to acknowledge the randomly generated number. This is to find out the even numbers.

SUM and RAND

Double SUM and RAND

The data has been spread, and we would like to find out what the even numbers will be, and subtract 15 percent from the total number, in order to get the evenly generated number.

Double SUM and RAND

Double SUM and Double RAND

The circumstances is we are examining how it would look for the even numbers when we are trying to find the answers that correspond with the data.

Double SUM and Double RAND

AVERAGE and RAND

We are using the previous data to find the answer, with the average at its center. This is why we are using both AVERAGE and RAND formulas.

AVERAGE and RAND

Rand and Average

This time we’d have no data, but we have to find out the random and average functions working together to find the answers.

Rand and Average