How to randomly sort cells in a column or range in Excel?
You may need to randomly sort cells in a selection in Microsoft Excel. The following ways will help you easily randomize cells of a range quickly.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
We can use Microsoft Excel's Rand function and Sort command to sort cells in each column of a range randomly with following steps:
1. Insert a help column before the range you will sort cells randomly.
2. Enter formuls =RAND( ) into the first cell of the help column, then drag the Fill Handle down to other cells (Note: The Rand function will recalculate every time, so you will get different random numbers from cell A1 to A6 in this case). See screenshot:
3. Select this new table (A1:E6), and click Data > Sort.
3. In the Sort dialog box, select Column A from the Sort by drop down list, and then click the OK button. See screenshot:
4. You can delete or hide the help column as you need.
5. Insert columns before Column C, Column D, and Column E, and repeat Step 2 to 4 to get a new table with random order in each column, see screenshot:
1. This method requires users to repeatedly insert random numbers and sort. It will be boring if you need to sort cells in a big selection at random.
2. This method will only sort cells in each column at random, and it won't shuffle cells from different columns.
If you want to sort cells in each column or row at once, here I recommend you the Sort Range Randomly utility of Kutools for Excel. This handy tool can randomize cells in each column or row of a selection all at once in Excel. Please do as follows
1. Select the range you want to sort randomly and click Kutools > Range > Sort Range Randomly. See screenshot:
2. In the Sort Range Randomly dialog box, select Cells in each row or Cells in each column as you need under the Sort tab, and then click the OK button.
Then cells in selection are sorted randomly in each row or column at once as below screenshot shown.
Kutools for Excel's Sort Range Randomly function also can sort entire rows or columns in a selection randomly.
1. Select a range you want to sort, and click Kutools > Range > Sort Range Randomly, see screenshot:
2. In the Sort Range Randomly dialog box, select Entire rows under the Sort tab if you want to sort entire rows randomly. Or select Entire columns to sort columns randomly, and then click the OK button. See screenshot:
Now rows or columns are sorted randomly in seletced range as below screenshot shown.
If you want to sort all cells randomly in a range, this utility will also be a good choice.
1. Select the range you will sort all cells randomly, and click Kutools > Range > Sort Range Randomly. See screenshot:
2. Select All cells in the range under the Sort tab in the Sort Range Randomly dialog box, and then click the OK button. See screenshot:
Then all cells in selected range are sorted randomly. See screenshot:
- How to generate random strings in Excel 2007/2010?
- How to insert random numbers in a range in Excel 2007/2010?
- How to select cells randomly in Excel 2007/2010?