跳到主要內容

如何在Excel中隨機調整行/列/單元格範圍?

假設您具有一定範圍的單元格,現在您想按以下所示的隨機順序對行進行隨機排序,如何在Excel中快速隨機地對其進行隨機排序?

doc shuffle第1行doc箭頭doc shuffle第2行

用公式隨機排列行/列值

使用Kutools for Excel隨機排列行/列/一系列單元格 好主意3


用公式隨機排列行/列值

1.選擇範圍旁邊的單元格列表,例如D1:D8,然後鍵入此公式 = RAND(),請參見屏幕截圖:

doc shuffle第3行

2.然後按 Ctrl + Enter。 現在,您將看到顯示的隨機數據列表。

doc shuffle第4行

3.現在您可以轉到 數據 選項卡,然後選擇 從小到大排序 or 從大到小排序 根據需要。 看截圖:

doc shuffle第5行

4.然後彈出一個對話框,並檢查 擴大選擇 選項。 然後單擊排序。

doc shuffle第6行

到現在為止,數據范圍已經隨機按行進行了排序。

doc shuffle第7行

然後,您可以刪除公式單元格。

doc shuffle第2行

但是,如果您想按列或所有單元格按如下所示的屏幕截圖對一定範圍的單元格進行混洗,那麼如何在Excel中解決呢? 現在繼續下一個方法,我將為您介紹一個多功能工具來輕鬆解決它。

doc shuffle第1行doc箭頭doc shuffle第8行


使用Kutools for Excel隨機排列行/列/一系列單元格

如果你有 Excel的Kutools 安裝後,有一個實用程序– 隨機排序範圍 可以按整行,整列或範圍內的所有單元格對數據進行隨機排序,還可以從範圍內選擇隨機單元格,隨機列或隨機行。

Excel的Kutools, 與以上 300 方便的功能,使您的工作更加輕鬆。 

安裝後 Kutools for Excel,請執行以下操作:(立即免費下載Kutools for Excel!)

1.選擇要隨機隨機播放的範圍單元格,然後單擊 庫工具 > 範圍 > 隨機排序/選擇範圍。 看截圖:

doc shuffle第16行

2.然後在 隨機排序/選擇範圍 對話框下 分類 標籤,請選擇所需的選項。

doc shuffle第10行

3。 然後點擊 Ok or 登記.

按整行排序

doc shuffle第11行

按整列排序

doc shuffle第8行

對范圍內的單元格進行排序

doc shuffle第12行

對每一行中的單元格進行排序

doc shuffle第13行

對每列中的單元格進行排序

doc shuffle第14行

這款獨特的敏感免洗唇膜採用 Moisture WrapTM 技術和 Berry Mix ComplexTM 成分, Excel的Kutools隨機排序範圍 實用程序,您可以在一個範圍內隨機選擇單元格。

doc shuffle第15行

單擊此處以了解有關隨機排序範圍實用程序的更多信息。

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I do not have an 'upload attachment' option below the message board.
Only 'rate this post', 5 stars to choose from, followed by 'Reset'.
This comment was minimized by the moderator on the site
Hi, Andrew Arnold, the Upload Atatchment option will appear when you login.
This comment was minimized by the moderator on the site
Sunny,
Its not a table I am trying to shuffle rows in, It's about 30 rows of an excel spreadsheet.
I added a column to the right, used the RAND() formula and :
1. it would only offer up two or three random numbers at a time instead of the whole column
2. after re-entering the RAND() function a few times to get all the rows I want to shuffle to have assigned random numbers, the rows will not shuffle. THis is when the message about a table appears, which I don't understand.
This comment was minimized by the moderator on the site
Hi, andrew arnold, I still not understand your question. Select 30 cells in the helper column (the column you add at right), then go to the formula bar to type =RAND(), press Enter key, then the formula RAND() will be inserted at 30 cells in the helper column at once. Then go to sort this helper column to make 30 rows shuffle randomly.
This comment was minimized by the moderator on the site
i am trying to send you a screen shot but this medium wont let me,.
This comment was minimized by the moderator on the site
Hi, andrew arnold, click the Upload Attachment below the message board, you can upload screen shot or a file.
This comment was minimized by the moderator on the site
Trying to shuffle rows, it will not allow me to.
Says something about a table.
This comment was minimized by the moderator on the site
Hi, I have tried methods above again, both of them support shuffle rows in table. Please see the gif picture below:
This comment was minimized by the moderator on the site
shuffle row data
This comment was minimized by the moderator on the site
This is great! Thanks!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations