How to randomize a list in Excel: sort randomly cells, rows and columns (2024)

The tutorial will teach you two quick ways to randomize in Excel: perform random sort with formulas and shuffle data by using a special tool.

Microsoft Excel provides a handful of different sorting options including ascending or descending order, by color or icon, as well as custom sort. However, it lacks one important feature - random sort. This functionality would come in handy in situations when you need to randomize data, say, for an unbiased assigning of tasks, allocation of shifts, or picking a lottery winner. This tutorial will teach you a couple of easy ways to do random sort in Excel.

How to randomize a list in Excel with a formula

Although there is no native function to perform random sort in Excel, there is a function to generate random numbers (Excel RAND function) and we are going to use it.

Assuming you have a list of names in column A, please follow these steps to randomize your list:

  1. Insert a new column next to the list of names you want to randomize. If your dataset consists of a single column, skip this step.
  2. In the first cell of the inserted column, enter the RAND formula: =RAND()
  3. Copy the formula down the column. The fastest way to do this is by double-clicking the fill handle:How to randomize a list in Excel: sort randomly cells, rows and columns (1)
  4. Sort the column filled with random numbers in ascending order (descending sort would move the column headers at the bottom of the table, you definitely don't want this). So, select any number in column B, go to the Home tab > Editing group and click Sort & Filter > Sort Largest to Smallest.How to randomize a list in Excel: sort randomly cells, rows and columns (2)

    Or, you can go to the Data tab > Sort & Filter group, and click the ZA button How to randomize a list in Excel: sort randomly cells, rows and columns (3).

Either way, Excel automatically expands the selection and sorts the names in column A as well:How to randomize a list in Excel: sort randomly cells, rows and columns (4)

Tips & notes:

  • Excel RAND is a volatile function, meaning that new random numbers are generated every time the worksheet is recalculated. So, if you are not happy with how your list has been randomized, keep hitting the sort button until you get the desired result.
  • To prevent the random numbers from recalculating with every change you make to the worksheet, copy the random numbers, and then paste them as values by using the Paste Special feature. Or, simply delete the column with the RAND formula if you don't need it any longer.
  • The same approach can be used to randomize multiple columns. To have it done, place two or more columns side by side so that the columns are contiguous, and then perform the above steps.

How to shuffle data in Excel with Ultimate Suite

If you don't have time to fiddle with formulas, use the Random Generator for Excel tool included with our Ultimate Suite to do a random sort faster.

  1. Head over to the Ablebits Tools tab > Utilities group, click the Randomize button, and then click Shuffle Cells.How to randomize a list in Excel: sort randomly cells, rows and columns (5)
  2. The Shuffle pane will appear on the left side of your workbook. You select the range where you want to shuffle data, and then choose one of the following options:
    • Cells in each row - shuffle cells in each row individually.
    • Cells in each column - randomly sort cells in each column.
    • Entire rows - shuffle rows in the selected range.
    • Entire columns - randomize the order of columns in the range.
    • All cells in the range - randomize all cells in the selected range.
  3. Click the Shuffle button.

In this example, we need to shuffle cells in column A, so we go with the third option:How to randomize a list in Excel: sort randomly cells, rows and columns (6)

And voilà, our list of names is randomized in no time:How to randomize a list in Excel: sort randomly cells, rows and columns (7)

If you are curious to try this tool in your Excel, you are welcome to download an evaluation version below. Thank you for reading!

Available downloads

Ultimate Suite 14-day fully-functional version
Random Generator for Google Sheets

You may also be interested in

  • How to select random sample in Excel
  • Get random selection without duplicates
  • How to generate random numbers in Excel
  • How to generate random numbers without duplicates
  • How to sort by date in Excel
  • How to sort and filter by color in Excel
How to randomize a list in Excel: sort randomly cells, rows and columns (2024)

FAQs

How to randomize a list in Excel: sort randomly cells, rows and columns? ›

Insert a new column next to the list you want to randomize. In the first cell of the new column, enter the formula =RANDBETWEEN(1,1000). The numbers 1 and 1000 can be replaced with any range of numbers you choose. Drag the formula down to fill the column with random numbers.

How to randomly shuffle a list in Excel? ›

Insert a new column next to the list you want to randomize. In the first cell of the new column, enter the formula =RANDBETWEEN(1,1000). The numbers 1 and 1000 can be replaced with any range of numbers you choose. Drag the formula down to fill the column with random numbers.

How to sort data randomly in Excel? ›

How to do a random sort in Excel
  1. Highlight your range. Highlight the range of information you want to randomize in Excel. ...
  2. Add a new column called "Sort order" ...
  3. Apply the RAND function to your first cell. ...
  4. Shuffle your list with ascending and descending order. ...
  5. Keep your sort order.
Jun 28, 2024

How to do randomization in Excel? ›

Steps for Randomization in Excel

=rand(): assign random numbers to each observation. While doing this, use "paste values" to stop recalculating the randomization. Sorting: sort the random numbers from lowest to highest. Order: Create an ordered serial number.

How do you randomize the order of items in a list? ›

Python Random shuffle() Method

The shuffle() method takes a sequence, like a list, and reorganize the order of the items. Note: This method changes the original list, it does not return a new list.

What is the formula to randomly select from a list in Excel? ›

To randomly select and remove a name from a list, you can use a combination of the INDEX, RANDBETWEEN, and FILTER functions. Here is the generic formula: =INDEX (list, RANDBETWEEN (1, COUNTA (list))) Where list is the range of cells that contains the names. This formula will return a random name from the list.

How do you randomly select in Excel with randomize tool? ›

How to randomly select in Excel with Randomize tool
  1. Select any cell in your table.
  2. Go to the Ablebits Tools tab > Utilities group, and click Randomize > Select Randomly:
  3. On the add-in's pane, choose what to select: random rows, random columns or random cells.
  4. Specify the number or percentage for the desired sample size.
Mar 17, 2023

How do I create a random sequence in Excel? ›

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. The formula will calculate and leave you with just a value.

Can you generate random data in Excel? ›

Click on the cell where you'd like to generate your random number. Enter the formula =RAND().

How to random rows in Excel? ›

How to Select Random Rows in Excel?
  1. Open your Excel worksheet and identify the range of rows you want to select randomly.
  2. Insert a new column to the left of your data. ...
  3. In the first cell of the new column, enter the formula =RAND(). ...
  4. Drag the formula down to populate the entire column with random numbers for each row.
Jul 6, 2023

How to create a random list in Excel without duplicates? ›

Select random rows in Excel without duplicates

To select random rows with no repeats, build a formula in this way: INDEX(SORTBY(data, RANDARRAY(ROWS(data))), SEQUENCE(n), {1,2,…}) Where n is the sample size and {1,2,…} are column numbers to extract.

How do I sort multiple rows and columns in Excel? ›

Sort by more than one column or row
  1. Select any cell in the data range.
  2. On the Data tab, in the Sort & Filter group, click Sort.
  3. In the Sort dialog box, under Column, in the Sort by box, select the first column that you want to sort.
  4. Under Sort On, select the type of sort. ...
  5. Under Order, select how you want to sort.

How do I randomly order a list in Excel? ›

How to randomize lists in Excel
  1. Insert a new column. Insert a column next to the column you wish to randomize. ...
  2. Input the formula. In the first cell of the column you inserted, type in the RAND formula, which is "=RAND()". ...
  3. Sort column in ascending order. ...
  4. Changing the randomization. ...
  5. Stop the randomization.
Jul 31, 2023

How to randomize a list into groups in Excel? ›

You can quickly create random groups for a set of data in Microsoft Excel by using a formula. The RANDBETWEEN and CHOOSE Functions can be used to randomly allocate items (data, people, etc.) to groups.

How do you randomize data in a spreadsheet? ›

Open the Google Sheets containing the list you want to randomize.
  1. Highlight the Entire List for Randomization. ...
  2. Activate the "Randomize range" Option via Right-Click Menu. ...
  3. Confirm the List Has Been Randomized. ...
  4. Append a RAND Formula Adjacent to Each List Item. ...
  5. Employ the SORT Function to Randomize Based on RAND Values.

How do you randomize a group in Excel without repeats? ›

Select random rows in Excel without duplicates

Only works in Excel 365 and Excel 2021 that support dynamic arrays. To select random rows with no repeats, build a formula in this way: INDEX(SORTBY(data, RANDARRAY(ROWS(data))), SEQUENCE(n), {1,2,…}) Where n is the sample size and {1,2,…} are column numbers to extract.

How to randomly distribute names in Excel? ›

The function RAND () is Excel's random number generator. To use it, in Column C, type in the following = RAND() in each cell adjacent to every name. Or you can type this function in the top row (row 2) and simply copy and paste to the entire column, or click and drag.

Top Articles
Mastering Ethereum
Easy Way To Convert PFX to .Crt & .Key Files In 10 Minutes
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Selly Medaline
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6140

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.