跳到主要内容

如何在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 随机排列行/列/一系列单元格

如果你有 Kutools for Excel 安装后,有一个实用程序– 随机排序范围 可以按整行,整列或范围内的所有单元格对数据进行随机排序,还可以从范围内选择随机单元格,随机列或随机行。

Kutools for Excel, 与超过 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行

Kutools for Excel随机排序范围 实用程序,您可以在一个范围内随机选择单元格。

doc shuffle第15行

单击此处以了解有关随机排序范围实用程序的更多信息。

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 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