哪位高手能够帮忙?本人想做个合同的到期提前一个半月提醒,如果合同期过了也显示“合同过期”,在线等,不知道能否帮忙看看 =IF(DATEDIF(TODAY(),(E9),"m")<=1,"该签合同了","")与 =IF(OR(C14="",D14=""),"",IF(DATEDIF(C14,TODAY(),"d")-D14*365>0,"已过期/到期日期:"&CONCATENATE(YEAR(C14)+D14,"-",MONTH(C14),"-",DAY(C14)),IF(DATEDIF(C14,TODAY(),"d")-D14*365=0,"今天到期",IF(DATEDIF(C14,TODAY(),"d")-D14*365+45<0,"到期日期:"&CONCATENATE(YEAR(C14)+D14,"-",MONTH(C14),"-",DAY(C14)),IF(DATEDIF(C14,TODAY(),"d")-D14*365+45=0,"一个月到期","一个月内到期"))))) 两个公式有何区别呢?
JfZbPHZH.rar
(2.3 KB, 下载次数: 79)
[此贴子已经被作者于2008-4-6 20:51:26编辑过] |