# 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 want to create a list of random numbers without duplicates in a range of cells, you can create a list of numbers in sequential order, and create a list of random numbers with RAND function in another column. Then you can use sort function to sort those list of random numbers. Then the list of random numbers in column A is created. Let’s do the detailed steps:

#1 type one number in Cell A1, assuming that you want to create random numbers and the maximum number is 10. So type the number 1 in cell A1. #2 go to HOME tab, click Fill command under Editing group. And select Series from the pop up menu list. The Series dialog will open. #3 type the maximum number 10 in the Stop value text box. And select Columns radio button.  Click OK button. #4 a list of number has generated in the column A. #5 type the following formula into another column B to generate another list of random numbers, and then drag the AutoFill Handle over other cells.

`=RAND()` #6 select all random numbers in column B, and go to HOME tab, click Sort & Filter command under Editing group. Then select Sort Smallest to Largest or Sort Largest to Smallest from the pop up menu list. A List of random numbers has been generated in the column A as you need. ### Related Functions

• Excel RAND function
The Excel RAND function returns a random real number that is greater than or equal to 0 and less than 1. The syntax of the RAND function is as below:=RAND ()…
Related Posts

Calculate Cumulative Totals with Excel SUM Function

Today, through a simple example, we will show you how to use one of the most common-used Mathematical functions in excel, the SUM function, to add up the sum. In our daily life, we keep an account of what we ...

BMI Calculation Formula In Ms Excel

You might have come across a task in which you were assigned to make BMI calculations of the supplied numbers, and you may be looking for an efficient approach to accomplish this process rather than doing BMI calculations manually, by ...

Calculate The Period of Loan or Investment in Excel

In our daily life, most of us will invest or take a loan, so we need to master some simple financial functions to calculate the period needed for loans or investments. If you work as an accountant, you need to ...

Working Time Calculation Based on Timesheets

In the office, a special machine record the time when you start working (clock in office) and when you finish working (clock out of office). We can calculate the total working time by subtracting the end working time from the ...

Sort/Rank Numeric Values with Duplicate Values Exist

Excel built-in RANK function can sort a set of values. If there are duplicate numbers, then the rank number is also duplicated. See the following example: There are two numbers “100” in range A2:A9, they are both the third largest ...