# Excel RAND Function

This post will guide you how to use Excel RAND function with syntax and examples in Microsoft excel.

### Description

The Excel RAND function returns a random real number that is greater than or equal to 0 and less than 1. The RAND function is returned a new random real number when a worksheet is changed. So you can use this function to get a random number between 0 and 1.

The RAND function is a build-in function in Microsoft Excel and it is categorized as a Math and Trigonometry Function.

The RAND function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

### Syntax

The syntax of the RAND function is as below:

`=RAND ()`

The RAND function has no arguments.

Note:

• If you want to use RAND to generate a random number but don’t want the numbers to change every time the cell is calculated, you can enter =RAND() in the formula bar, and then press F9 to change the formula to a random number.

### Excel RAND Function Examples

The below examples will show you how to use Excel RAND Function to get a random number between 0 and 1.

1# get a random number greater than or equal to 0 and less than 1, enter the following formula in Cell B1.

=RAND() 2# get a random number greater than or equal to 0 but less than 200, enter the following formula in Cell B2.

=RAND()*200 ### Related Functions

• Excel RANDBETWEEN function
The Excel RANDBETWEEN function returns a random integer number that is between the numbers you specify. The syntax of the RAND function is as below:= RANDBETWEEN (bottom,top)…

### More Excel Randbetween Function Examples

Related Posts

How to Generate Random Time in Excel

In some special situations we may need to generate some random times in worksheet. We can enter time manually and one by one, but if we want to require a lot of random dates in excel worksheet, we will spend ...

Generate a List of Random Numbers without Duplicates

This post will guide you how to generate a list of random numbers without duplicates in Excel. How do I generate random numbers without duplicates with a formula in Excel. Generate a List of Random Numbers without Duplicates If you ...

Excel DSTDEVP Function

This post will guide you how to use Excel DSTDEVP function with syntax and examples in Microsoft excel. Description The Excel DSTDEVP returns the standard deviation of a population based on the entire population of numbers in a column or ...

Excel DSTDEV Function

This post will guide you how to use Excel DSTDEV function with syntax and examples in Microsoft excel. Description The Excel DSTDEV returns the standard deviation of a population based on a sample of numbers in a column or database ...

Excel DMIN Function

This post will guide you how to use Excel DMIN function with syntax and examples in Microsoft excel. Description The Excel DMIN returns the minimum value from a database or a column of a list that matches the specified conditions. ...

Excel DPRODUCT Function

This post will guide you how to use Excel DPRODUCT function with syntax and examples in Microsoft excel. Description The Excel DPRODUCT returns the product of values from a set of records that match criteria that you specify. The DPRODUCT ...

Excel XIRR Function

This post will guide you how to use Excel XIRR function with syntax and examples in Microsoft excel. Description The Excel XIRR function returns the internal rate of return for a series of cash flows that is not necessarily periodic. ...

Excel VDB Function

This post will guide you how to use Excel VDB function with syntax and examples in Microsoft excel. Description The Excel VDB function calculates the depreciation of an asset for a specified period based on the double declining balance method. ...

Excel SYD Function

This post will guide you how to use Excel SYD function with syntax and examples in Microsoft excel. Description The Excel SYD function calculates the sum-of-years’digits depreciation of an asset for a specified period. And it will return a numeric ...

Excel SLN Function

This post will guide you how to use Excel SLN function with syntax and examples in Microsoft excel. Description The Excel SLN function calculates the depreciation of an asset for one period based on the straight line depreciation. And it ...

Sidebar