
This part of randomizing is out of our control if you want to have a more accurate result, the RAND function will give you more numbers. However, as you can see, the problem with RANDBETWEEN is that it may randomize a number twice or even more. Figure 4 RANDBETWEEN function only randomizes between the numbers that you choose. For instance, you want to generate random numbers between 1 to 10. In this function, the numbers are randomized between two given numbers. RANDBETWEEN is another function that can randomize numbers in Excel.

Randomize Columns with RANDBETWEEN function If you don’t want the numbers to change, first, copy the value of the cells in another column, then sort them. Therefore, by sorting the numbers, you may see new random numbers too. Please note that every time you make a change in cells, the RAND function generates new random numbers. Now you can sort the randomized numbers by “sort and filter” from the home tab or from the sort and filter group in the data tab or even round them using the ROUND function.įigure 3 By sorting the numbers you can see that the list of customers will be sorted differently too.By double-clicking on the first cell you copy the formula to the other cells too. Double click on the lower right corner of the first cell so the function will be copied to the rest of the cells.Click on the first cell in column B and write =RAND() formula and then press Enter a random number between 0 and 1 appears in the cell.In this example, we named it “Random Numbers.” Therefore, we need to have another column to show random numbers. Here is how it works: Randomize Columns with RAND functionĪssume that we have a list of our customers in column A.

After dedicating a random number to each cell, you can sort the numbers and shuffle the list. The most commonly used formula is the RAND function, which generates a random number between 0 and 1. You can make a list and allocate a random number to each cell using different formulas.

HOW TO SORT MULTIPLE COLUMNS IN EXCEL USING VBA HOW TO
How to randomize a list in Excel with a formula In this post, we will explain to you how to randomize a list in Excel. However, it doesn’t mean it is not useful. But what if you want to randomize a list or select random numbers from the list? Randomizing data is not so common in Excel. There are several options for sorting data in Excel, such as ascending or descending numbers or sorting them alphabetically.
