MOD 函数
时间:2023-11-21 17:12:02
本文介绍MicrosoftExcel中MOD函数的公式语法和用法。
说明返回两数相除的余数。结果的符号与除数相同。
语法MOD(number,divisor)
MOD函数语法具有下列参数:
Number 必需。要计算余数的被除数。
Divisor 必需。除数。
备注
如果除数为0,则MOD返回#DIV/0!。
MOD函数可以借用INT函数来表示:
MOD(n,d)=n-d*INT(n/d)
示例复制下表中的示例数据,然后将其粘贴进新的Excel工作表的A1单元格中。要使公式显示结果,请选中它们,按F2,然后按Enter。如果需要,可调整列宽以查看所有数据。
=MOD(3,2)
3/2的余数
1
=MOD(-3,2)
-3/2的余数。符号与除数相同
1
=MOD(3,-2)
3/-2的余数。符号与除数相同
-1
=MOD(-3,-2)
-3/-2的余数。符号与除数相同
-1
注意: 本页面是自动翻译的,可能包含语法错误或不准确之处。我们的目的是使此内容能对你有所帮助。能否告知我们此信息是否有所帮助?下面是该参考内容的英文版。
公式 | 说明 | 结果 |
---|
标签:之处,你有,内容,将其,数据,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word中如何制作电子手抄报
2023-03-01 19:00:00
Win10系统开始菜单打不开怎么办?
2023-05-27 13:19:58
![](https://img.aspxhome.com/file/2023/5/a314605_0s.png)
WPS 2013新品评测 全新的Win8扁平化设计风格
2022-02-07 01:56:12
iOS 15 新功能:在“健康”App 中共享和查看健康数据
2023-09-13 15:10:32
![](https://img.aspxhome.com/file/2023/7/45647_0s.png)
如何安装wps
2022-09-08 03:35:01
如何在wps表格中复制分类汇总后的单元格
2023-08-28 19:33:05
补丁任性!部分用户Win10正式版10586.122升级失败
2022-02-12 15:12:56
![](https://img.aspxhome.com/file/2023/4/a313001_0s.png)
电脑显示无法配置此无线连接怎么解决?
2022-01-18 18:32:42
![](https://img.aspxhome.com/file/2023/1/a275958_0s.png)
Win11绿屏怎么办?Win11绿屏解决方法介绍
2022-09-24 18:42:25
![](https://img.aspxhome.com/file/2023/27/a238720_0s.jpg)
火影 T9M笔记本一键重装win11系统教程
2022-04-24 23:17:02
![](https://img.aspxhome.com/file/2023/30/a267337_0s.png)
WPS2019个人版和教育版的区别
2023-07-31 07:10:42
![](https://img.aspxhome.com/file/2023/3/a185553_0s.png)
Wps如何设置英文首字母大写?Wps设置英文首字母大写的方法
2023-07-01 17:18:28
![](https://img.aspxhome.com/file/2023/1/a182171_0s.jpg)
WPS word中拼音声调怎么打
2022-09-04 12:30:26
![](https://img.aspxhome.com/file/2023/5/a186235_0s.jpg)
小米手机个人热点怎么限额流量?
2022-05-18 23:54:19
SolidWorks怎么生成爆炸图?
2022-03-04 17:03:24
![](https://img.aspxhome.com/file/2023/9/a340443_0s.jpg)
Win10系统如何快速查看硬盘容量?
2022-11-25 08:51:41
![](https://img.aspxhome.com/file/2023/1/a272379_0s.jpg)
如何对齐PPT里的形状
2023-09-03 16:01:16
![](https://img.aspxhome.com/file/2023/10/a351657_0s.jpg)
Mac QQ音乐怎么显示桌面歌词及桌面歌词相关设置
2023-06-30 15:21:38
![](https://img.aspxhome.com/file/2023/8/a214318_0s.jpeg)
Win10创意者更新Build 15058官方ISO镜像下载
2023-08-25 12:56:03
![](https://img.aspxhome.com/file/2023/29/a260666_0s.jpg)
wps2013另存为在哪
2022-10-18 00:33:29