Excel函数中的datedif隐藏函数的疑惑详细解答
时间:2023-05-30 20:04:09
DATEDIF这个隐藏函数不是太理解。故再次来仔细讲下这个特别的隐藏函数。语法概述如下
这是本人尝试用PPT做的。
"MD" start_date 与 end_date 日期中天数的差。忽略日期中的月和年。 "YM" start_date 与 end_date 日期中月数的差。忽略日期中的年。
"YD" start_date 与 end_date 日期中天数的差。忽略日期中的年
Datedif这函数比较特别,我们无法通过那记忆输入得到
也没法如此得到
,
我们只能自己记住语法结构或者用到时百度下。当然前提是你知道这函数存在。这也是我鼓励大家函数要学入门的原因,你都不知道它存在和他大概用法,你如何去搜索它在茫茫网路上。继续谈我们这个函数。语法结构上面已经讲了,这里说下应用,源数据如图:
我们按语法结构来看间隔天数不考虑年份,输入=
=DATEDIF(B2,A2,"yd"),类似下个间隔月数不考虑年份
不考虑年月,只考虑天的情况结果如下
其中只考虑天,不考虑年,适合求生日计算。间隔月数不考虑年份,适合工龄计算。
标签:函数,天数,日期,间隔,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word闪烁的垂直条表示什么
2023-11-25 15:18:57
![](https://img.aspxhome.com/file/2023/0/35500_0s.jpg)
word 某一单元格的边线与其它单元格的边线总是对不齐?
2023-08-28 05:34:24
![](https://img.aspxhome.com/file/2023/9/35689_0s.png)
windows7任务管理器停止工作怎么处理
2022-11-28 23:48:47
![](https://img.aspxhome.com/file/2023/1/a282953_0s.jpg)
win10手机正式版下载地址 win10手机正式版官方下载网址
2022-05-05 23:02:17
![](https://img.aspxhome.com/file/2023/28/a249753_0s.png)
QQ自动回复在哪设置?设置QQ自动回复的方法
2023-06-13 09:00:40
![](https://img.aspxhome.com/file/2023/9/a340508_0s.jpg)
伴鱼绘本怎么录音?伴鱼绘本录音方法
2022-11-18 17:26:50
![](https://img.aspxhome.com/file/2023/8/a333210_0s.jpg)
手机wps文档会不会被盗
2023-11-23 23:12:58
![](https://img.aspxhome.com/file/2023/1/a171171_0s.png)
解答无线鼠标为何会没反应
2022-03-01 07:38:11
![](https://img.aspxhome.com/file/2023/3/a294668_0s.png)
Excel NOMINAL 函数 使用教程
2023-11-04 04:39:55
![](https://img.aspxhome.com/file/2023/0/a163340_0s.png)
8 天 3更,这次iPadOS/iOS 13.1.1更新了啥?
2023-07-01 03:51:49
![](https://img.aspxhome.com/file/2023/6/a196756_0s.jpg)
WPS演示中播放幻灯片的三招
2022-11-03 18:00:23
![](https://img.aspxhome.com/file/2023/6/a171296_0s.jpg)
电脑桌面背景变白色怎么解决?
2023-05-05 03:27:00
![](https://img.aspxhome.com/file/2023/6/a322284_0s.jpg)
Nisus Writer Pro for Mac拆分视图和注释技巧
2022-02-17 11:01:37
![](https://img.aspxhome.com/file/2023/9/a212549_0s.png)
Word2013中设置段落对齐方式的两种方法
2023-12-12 12:20:42
![](https://img.aspxhome.com/file/2023/4/20904_0s.jpg)
招商银行APP设置指纹密码登录的具体操作方法
2023-03-05 03:51:32
![](https://img.aspxhome.com/file/2023/8/a338745_0s.jpg)
win7任务栏怎么恢复还原
2022-09-29 07:41:23
![](https://img.aspxhome.com/file/2023/1/a283022_0s.jpg)
联想笔记本出厂原版Win8系统安装镜像怎么提取?
2022-10-20 17:56:42
![](https://img.aspxhome.com/file/2023/28/a250050_0s.jpg)
如何利用威力导演调整视频速度?
2022-04-03 06:10:24
Win8系统如何查看默认网关?
2023-04-02 00:54:35
![](https://img.aspxhome.com/file/2023/3/a299264_0s.jpg)
Excel导入ACCESS数据库动画教程
2022-01-23 16:21:23
![](https://img.aspxhome.com/file/2023/8/39228_0s.gif)