发布网友 发布时间:2022-04-22 23:48
共3个回答
热心网友 时间:2023-10-08 22:53
亲,应该考虑过期的情况,那比即将到期还严重,所以完整的公式如下,在C2粘贴并下拉:
=IF(B2-TODAY()>0,"已过期",IF(B2-TODAY()>=-2,"即将到期",""))
热心网友 时间:2023-10-08 22:53
=IF(NOW()>=(B2-2),"到期了","")热心网友 时间:2023-10-08 22:54
=if(B1-today()<=2,"即将到期","")