WPS软件中excel设置日期到期提醒怎么操作?
时间:2023-07-24 12:33:32
在excel中设置到期自动提醒,可以利用excel中的函数datedif来设置。方法如下
如图,在B2单元格输入公式:=IF(DATEDIF(A2,TODAY(),"d")>0,"还有"&DATEDIF(A2,TODAY(),"d")&"天到期","已到期")。
公式解析:DATEDIF(A2,TODAY(),"d")该公式用来计算日期列和今天相距的时间是多少天,DATEDIF函数,第一个参数是起始日期,第二个参数是结束日期,第三个参数是计算的结果返回的是天数、年数、还是月数。用if函数判断一下,如果是大于0的就是没有到期的,那么返回”还有多少天到期“,到期的显示”已到期“,实现了自动判断。
注意,today函数是易失性函数,就是每天打开文件保存一下,值才会更新,另外today函数的返回值取决于计算机的系统日期,如果系统日期设置不正确,那么today函数的取值也不正确。
标签:WPS软件中excel设置日期到期提醒怎么操作?
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
中国IT圈富豪排行榜:前三名是他们 最少1185亿元
2022-10-02 09:25:22
![](https://img.aspxhome.com/file/2023/3/a301989_0s.jpg)
如何更改Win7旗舰版配色方案?Win7旗舰版配色方案修改方法
2022-10-25 00:10:43
![](https://img.aspxhome.com/file/2023/1/a277802_0s.jpg)
Microsoft Excel 教程「27」,如何在 Excel 中创建自定义数字格式?
2022-12-17 01:50:50
![](https://img.aspxhome.com/file/2023/4/a202774_0s.jpeg)
Win10 10074升级10122后提示0x80d02002错误代码的原因及解决办法
2022-03-22 19:13:21
![](https://img.aspxhome.com/file/2023/26/a226867_0s.jpg)
如何在PPT中输入复杂公式 PPT复杂公式输入方法
2023-12-03 02:04:56
![](https://img.aspxhome.com/file/2023/10/a350722_0s.jpg)
Win10 C盘突然爆满了怎么清理?小编教你不用软件直接释放10多个G!
2022-06-02 13:12:26
![](https://img.aspxhome.com/file/2023/26/a221609_0s.jpg)
Win10照片查看器不见了?Win10系统照片查看器打开方式
2023-08-12 02:20:35
![](https://img.aspxhome.com/file/2023/26/a224167_0s.jpeg)
Win10系统开机黑屏怎么办? Win10开机黑屏的修复方法
2022-02-23 09:26:45
![](https://img.aspxhome.com/file/2023/26/a226582_0s.jpg)
在word中如何增加标题样式中的标题4.标题5.标题6
2023-12-13 11:16:14
![](https://img.aspxhome.com/file/2023/9/21499_0s.gif)
几招教会你使用cmd查看显卡信息
2023-03-02 21:28:49
![](https://img.aspxhome.com/file/2023/1/a277157_0s.png)
Win7系统如何设置虚拟网卡?设置虚拟网卡方法
2023-12-11 06:40:15
![](https://img.aspxhome.com/file/2023/26/a228614_0s.png)
萝卜家园和雨林木风系统哪个好
2023-01-27 20:05:32
![](https://img.aspxhome.com/file/2023/1/a277017_0s.png)
Win10 2004需要什么配置?Win10 2004配置要求
2022-07-10 04:42:54
![](https://img.aspxhome.com/file/2023/26/a223483_0s.jpg)
Excel2007中如何通过查找定位功能快速实现只复制可见单元格
2022-05-27 09:04:13
win10用Edge浏览器下载的文件怎么打开
2023-07-29 09:14:06
![](https://img.aspxhome.com/file/2023/8/46638_0s.png)
Win7系统运行游戏时提示丢失xlive.dll文件的解决方法
2022-07-13 16:05:57
![](https://img.aspxhome.com/file/2023/27/a232663_0s.jpg)
初学者必备知识:搜狗输入法使用指南
2023-02-18 18:58:40
![](https://img.aspxhome.com/file/2023/5/a318191_0s.gif)
Win10笔记本电脑上喇叭图标不见了怎么办?
2022-06-15 07:21:16
![](https://img.aspxhome.com/file/2023/26/a222823_0s.png)
Win7系统中双声卡切换实例教程图解
2023-02-06 04:27:22
![](https://img.aspxhome.com/file/2023/29/a254448_0s.jpg)
Win10系统高级显示设置不见了怎么办?
2022-02-28 07:41:05
![](https://img.aspxhome.com/file/2023/4/a311058_0s.jpg)