excel随机数rand函数的使用方法
时间:2022-10-23 15:14:01
当我们需要产生一些随机数,如单位的抽奖,购买体育彩票前的选号等,我们可以利用Excel中的RAND函数来产生这些随机数。RAND函数能 够返回大于等于0小于1的均匀分布随机数,每次计算工作表时都将返回一个新的数值。我们只要将RAND()与INT函数组合起来,就能够产生各种位数的随 机数了。
“=INT(RAND()*10)” 产生0到10之间的任意自然数
“=INT(RAND()*100)” 产生0到100之间的任意自然数
……
由此,我们只需要在7(或其他大小)个单元格中分别输入“=INT(RAND()*10)”,这样就能够产生一个7位的随机数。
标签:excel随机数rand函数的使用方法
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10更新2004出现错误代码0xc1900401怎么解决
2022-09-04 15:05:30
![](https://img.aspxhome.com/file/2023/1/a280353_0s.jpg)
如何改变excel快速访问工具栏位置
2023-05-28 17:38:28
![](https://img.aspxhome.com/file/2023/4/a154794_0s.jpg)
微软发布Win10新技术预览版Build 9860:WP通知中心被搬到PC桌面
2023-04-23 18:37:56
![](https://img.aspxhome.com/file/2023/29/a253275_0s.jpg)
win11桌面没有此电脑图标怎么办?win11此电脑图标找回方法
2023-08-13 09:38:58
![](https://img.aspxhome.com/file/2023/28/a239763_0s.jpg)
windows.old删除不了怎么办?win10 Windows.old文件夹删除的方法
2023-03-10 12:42:05
![](https://img.aspxhome.com/file/2023/28/a248681_0s.png)
win10升级问题解答大全 升级win10需要知道的9个关键点
2022-02-12 21:24:43
matlab代码或中文复制到word就变成乱码怎么办?
2023-12-07 02:44:47
![](https://img.aspxhome.com/file/2023/2/29072_0s.jpg)
老电脑适合装win10吗_老电脑适合装win10系统吗的分析
2022-07-30 14:10:26
![](https://img.aspxhome.com/file/2023/4/a310022_0s.jpg)
Mac上的FireFox浏览器如何设置默认语言?
2022-10-24 09:23:44
![](https://img.aspxhome.com/file/2023/8/a205028_0s.jpeg)
怎么使用福昕PDF编辑器给PDF文件旋转视图?
2022-12-28 12:32:51
![](https://img.aspxhome.com/file/2023/7/a329027_0s.png)
word中设置艺术字形状的两种方法
2022-12-10 20:51:15
方正笔记本怎么设置u盘启动_方正笔记本设置u盘启动的方法步骤教程
2022-02-01 00:15:47
![](https://img.aspxhome.com/file/2023/4/a309872_0s.jpg)
WPS文字怎么插入结构图
2023-11-27 02:20:25
![](https://img.aspxhome.com/file/2023/1/a163491_0s.jpg)
Win11没有收到推送怎么更新?免费升级Win11正式版
2023-03-19 03:32:29
![](https://img.aspxhome.com/file/2023/27/a237398_0s.jpg)
电脑图标怎么在电脑底部显示?
2023-03-05 07:10:30
![](https://img.aspxhome.com/file/2023/1/a274158_0s.jpg)
Word2007:快速准确移动文字块的方法
2023-05-21 14:10:55
![](https://img.aspxhome.com/file/2023/2/25302_0s.jpg)
PPT插入声音基础教程
2023-12-07 09:12:31
Ps文字发光效果如何设置?Ps文字发光效果设置方法
2023-02-20 10:44:23
![](https://img.aspxhome.com/file/2023/7/a328411_0s.png)
WPS文字如何快速计算插入表格的行.列数
2022-12-27 07:09:57
![](https://img.aspxhome.com/file/2023/3/a164533_0s.png)
电脑CPU温度过高怎么办?电脑CPU温度过高处理方法
2022-02-26 19:17:10
![](https://img.aspxhome.com/file/2023/6/a322921_0s.png)