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 ()…
Leave a Reply
You must be logged in to post a comment.