本帖最后由 Donald 于 2022-12-29 16:59 编辑
在WPS里面设置一组密码到期的函数正常生效,当DATEDIF(TODAY(),V14,"d")<0,在表格中显示“已到期”,同样的函数放入到活字格单元格中则显示“#NUM!”,具体函数如下:IF(DATEDIF(TODAY(),V14,"d")<0,"已到期",IF(DATEDIF(TODAY(),V14,"d")=0,"今日到期",IF(DATEDIF(TODAY(),V14,"d")>0,"还有 "&DATEDIF(TODAY(),V14,"d")&"天 到期","")))
|