随机分组太折磨人?巧妙得让我思考了300秒.
时间:2023-07-26 03:22:22
“ 有朋友问了问题,有100个人的姓名,要随机分成10组,每组10人,怎么样能够快速地随机分出来?”
技术不是古板的教条的,灵活使用却依赖于深厚的功底以及对内在逻辑的敏锐洞察。书读百遍其义自见,当然不是随便看看就行。
——奥菲斯伊克赛尔《论学好Excel的重要性》
01
题目截图
如下
左边的表格
变成
右边的表格
![随机分组太折磨人?巧妙得让我思考了300秒.](https://img.aspxhome.com/file/2023/5/a156975_0.jpg)
02—
解决方案是
辅助列+
函数RAND+ROW+RANK
+INDEX+MATCH+COLUMN
【1】先来一个随机数辅助列,如C列
为什么在RAND后还要加上ROW函数除以100亿
就是为了防止rand函数可能重复
![随机分组太折磨人?巧妙得让我思考了300秒.](https://img.aspxhome.com/file/2023/5/a156975_1.jpg)
【2】再来一个排序函数RANK
![随机分组太折磨人?巧妙得让我思考了300秒.](https://img.aspxhome.com/file/2023/5/a156975_2.png)
【3】最后竖直从B列里随机分成10组
=INDEX($B:$B,MATCH(ROW($A1)+10*(COLUMN(A$1)-1),$D:$D,0))
自己研究函数的嵌套逻辑
提示下顺序:
ROW($A1)+10*(COLUMN(A$1)-1)
match函数
index函数
![随机分组太折磨人?巧妙得让我思考了300秒.](https://img.aspxhome.com/file/2023/5/a156975_3.jpg)
标签:rank函数,rank函数怎么用,rank函数的使用方法,rank函数的用法,rank排名函数,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
20条Word常用操作教程,简单实用,纯干货分享,收藏备用!
2023-11-09 01:20:05
![](https://img.aspxhome.com/file/2023/4/16954_0s.jpg)
Win11安全模式怎么进入?Win11进入安全模式方法
2023-01-15 08:23:10
![](https://img.aspxhome.com/file/2023/27/a236466_0s.png)
Win8系统如何卸载KB3000850补丁解决游戏等不兼容问题
2023-04-28 06:20:41
![](https://img.aspxhome.com/file/2023/28/a250010_0s.jpg)
wps文字怎样修改水印图片大小
2023-11-30 18:17:47
在Word2010中自动更新插入图片的技巧
2022-08-05 19:46:32
![](https://img.aspxhome.com/file/2023/4/25284_0s.jpg)
wps表格如何自动保存
2022-02-13 11:41:51
Win7系统怎么卸载腾讯电脑管家wifi共享精灵?
2022-10-05 01:17:39
![](https://img.aspxhome.com/file/2023/27/a229827_0s.jpg)
如何在Word中为图片添加边框效果
2023-12-14 06:11:12
![](https://img.aspxhome.com/file/2023/6/21436_0s.jpg)
Win7/Win8系统从硬盘升级安装到Win8.1系统的方法图文详细介绍
2022-08-09 10:42:55
![](https://img.aspxhome.com/file/2023/29/a254903_0s.jpg)
深度技术是如何使用Windows8自带虚拟光驱的
2022-12-24 16:43:25
![](https://img.aspxhome.com/file/2023/2/a289481_0s.jpg)
wps如何设置文档背景底色
2022-05-28 10:55:09
如何在word文档插入音频视频?
2022-04-25 03:05:24
![](https://img.aspxhome.com/file/2023/5/35855_0s.jpg)
Excel2007快速删除单元格中的重复项技巧
2023-01-01 06:44:44
![](https://img.aspxhome.com/file/2023/3/37853_0s.jpg)
百度网盘怎么免费获得超级会员
2023-02-14 01:31:42
![](https://img.aspxhome.com/file/2023/7/a327995_0s.png)
word大括号怎么输入?
2023-11-28 12:00:16
![](https://img.aspxhome.com/file/2023/5/17805_0s.jpg)
怎样快速选中PPT占位符中的内容?
2022-09-25 13:56:17
![](https://img.aspxhome.com/file/2023/10/a351743_0s.jpg)
excel2010表格中的数据怎么统一加相同数据?
2023-05-06 15:28:45
![](https://img.aspxhome.com/file/2023/6/40196_0s.png)
Win10中的Store商店将为企业用户优化
2022-12-14 17:01:42
![](https://img.aspxhome.com/file/2023/29/a252918_0s.jpg)
如何利用 reveal.js 随心所欲地制作 PPT
2022-02-13 07:50:15
![](https://img.aspxhome.com/file/2023/10/a352565_0s.jpg)
excel表格如何使用FLOOR函数
2023-12-08 08:36:00