当然不对啦.仔细看.
--------------------------------------------------------------------------------------------------------
以下是更新回答:
if(len(R6) >0,if(DATESUBDATE(P6,R6,"d") >0,"关闭",if(datesubdate(P6,R6,"d")<0,"延期完成","")),if(DATESUBDATE(today(),P6,"d")<=0,"正在进行","超时"))
另外楼主日期格式不太对,格式化了一下单元格.数据结果正常了.