ROUND()函数对数据四舍五入
时间:2022-07-07 19:50:49
ROUND()函数对数据四舍五入!关键点提示:
1、语法:ROUND(number, num_digits),其中:
number 必需。要四舍五入的数字。
num_digits 必需。位数,按此位数对 number 参数进行四舍五入。
num_digits :
如果 num_digits 大于 0(零),则将数字四舍五入到指定的小数位。
如果 num_digits 等于 0,则将数字四舍五入到最接近的整数。
如果 num_digits 小于 0,则在小数点左侧进行四舍五入。
2、对时间四舍五入,可以使用ROUND()函数。在B2中输入公式:=ROUND(A2*96,0)/96,即可以算出结果。
其理论依据是:1天=24小时=96*15分钟。ROUND(A2*96,0)是指把时间换算成15分钟倍数,对这个倍数取整数;ROUND(A2*96,0)/96,是再把这个倍数换成时间格式。
3、如果换成使用MROUND函数,则在B2中输入公式:=MROUND(A2*96,1)/96,也能得出正确的结果。
其理论依据是:1天=24小时=96*15分钟。MROUND(A2*96,1)是指把时间换算成15分钟倍数,其中把15分钟看成一个单位;MROUND(A2*96,1)/96,是再把这个倍数换成时间格式。
附: MROUND语法:MROUND(number, multiple),其中:
Number 必需。要舍入的值。
Multiple 必需。要将数值 number 舍入到的倍数。
标签:Excel函数,excel函数公式,excel表格制作,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word文档首页页码怎么去掉,第二页开始是1?
2022-08-15 04:26:45
![](https://img.aspxhome.com/file/2023/9/35249_0s.png)
wps怎么保存ppt模板
2023-06-15 00:56:38
![](https://img.aspxhome.com/file/2023/3/53473_0s.jpg)
Word2013中以不同颜色突出显示文本的方法
2023-12-09 13:57:19
![](https://img.aspxhome.com/file/2023/5/20755_0s.jpg)
word2013编辑多级标题的方法步骤图
2023-11-12 23:53:58
word怎么设置字体格式呢?
2022-09-23 16:42:28
![](https://img.aspxhome.com/file/2023/8/23928_0s.jpg)
word怎么设置页眉页脚
2022-06-04 19:10:40
![](https://img.aspxhome.com/file/2023/4/34804_0s.gif)
Word2003怎么样统计字数.行数和符号
2022-12-13 04:30:28
![](https://img.aspxhome.com/file/2023/0/22160_0s.gif)
Word2007中巧设装订线的妙招
2022-09-28 10:37:35
![](https://img.aspxhome.com/file/2023/7/25277_0s.gif)
Win10系统频繁蓝屏重启如何解决?
2023-11-18 08:08:50
![](https://img.aspxhome.com/file/2023/6/49626_0s.png)
怎样利用word制作漂亮信纸
2022-02-12 17:00:10
怎么将excel 两列数据合并成单独的内容
2022-08-20 11:51:53
![](https://img.aspxhome.com/file/2023/8/37488_0s.jpg)
Win10 21H1专业版怎么禁止安装软件?
2023-11-23 13:50:58
![](https://img.aspxhome.com/file/2023/9/50749_0s.jpg)
Win10玩游戏频繁弹回桌面的怎么办?
2023-11-16 13:17:48
![](https://img.aspxhome.com/file/2023/7/49647_0s.png)
编辑管理Excel工作簿到外部数据的连接
2022-11-07 19:23:39
word2013文字下面的波浪线去除的方法是什么
2022-11-12 13:03:15
word2010文档加密方法
2023-12-13 22:32:15
![](https://img.aspxhome.com/file/2023/6/21376_0s.jpg)
如何在Word2010文档中使用“放弃编辑数据”还原图片
2023-03-27 17:32:46
![](https://img.aspxhome.com/file/2023/2/29952_0s.jpg)
在word文档中怎么输入省略号?
2022-07-14 21:09:02
![](https://img.aspxhome.com/file/2023/2/41402_0s.jpg)
Word排版神技巧,看看你都会了吗
2023-04-15 01:18:11
![](https://img.aspxhome.com/file/2023/0/22520_0s.gif)
使用Word2007提示“正在配置microsoft office enterprise 2007”
2023-06-30 20:54:33