Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to shuffle rows/columns/a range of cells randomly in Excel?

Supposing you have a range of cells, and now you want to shuffle the rows in a random order as below screenshot shown, how can you quickly and randomly shuffle them in Excel?

doc shuffle rows 1doc arrowdoc shuffle rows 2

Shuffle rows/a column values with formula

Shuffle rows/columns/a range of cells randomly with Kutools for Excel good idea3

Quickly Sort or select cells/Rows/Columns randomly from a selection in Excel

Kutools for Excel's Sort Range Randomly can quickly sort or select data randomly by cells or columns or rows. Click for full-featured 60 days free trial!
doc sort randomly
doc select randomly
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

  Shuffle rows/a column values with formula

1. Select a list of cells next to you range, for instance, D1: D8, and then type this formula =RAND(), see screenshot:

doc shuffle rows 3

2. Then press Ctrl + Enter. Now you can see there is a list of random data displayed.

doc shuffle rows 4

3. Now you can go to Data tab, and select Sort smallest to largest or Sort largest to smallest as you need. See screenshot:

doc shuffle rows 5

4. Then there is a popped dialog, and check Expand the selection option. And click Sort.

doc shuffle rows 6

Till now the data range has been shuffled by rows randomly.

doc shuffle rows 7

Then you can remove the formula cells.

doc shuffle rows 2

However, if you want to shuffle a range of cells by columns or all cells as below screenshots shown, how can you solve it in Excel? Now go on next method, I will introduce a multifunctional tool for you to solve it easily.

doc shuffle rows 1doc arrowdoc shuffle rows 8

  Shuffle rows/columns/a range of cells randomly with Kutools for Excel

If you have Kutools for Excel installed, there is a utility – Sort Range Randomly can shuffle your data by entire row, entire column, or all cells of range, also can select random cells, random columns or random rows from a range.

  Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select the range cells you want to shuffle randomly, and click Kutools > Range > Sort Range Randomly. See screenshot:

doc shuffle rows 16

2. Then in the Sort Rand Randomly dialog, under Sort tab, please select the option you need.

doc shuffle rows 10

3. Then click Ok or Apply.

Sort by entire rows

doc shuffle rows 11

Sort by entire columns

doc shuffle rows 8

Sort cells in the range

doc shuffle rows 12

Sort cells in each row

doc shuffle rows 13

Sort cells in each column

doc shuffle rows 14

With Kutools for Excel’s Sort Range Randomly utility, you can select cells randomly in a range.

doc shuffle rows 15

Click here to know more about Sort Range Randomly utility.

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.