日期区间
大神好,请问如何用函数公式将左侧的交货日期提取为对右侧应的周期=IF(A2<TODAY(),"日期在今天之前",TEXT(INDEX(A:A,MATCH(B2,B:B,)),"m.d-")&TEXT(LOOKUP(1,0/(B:B=B2),A:A),"m.d")) =IFNA(TEXT(LOOKUP(A2,44537+INT((ROW($1:$44)-1)/7)*7,INT((ROW($1:$44)-1)/7)+1),"第0周"),"过期") b2
=TEXT(INT((TODAY()-A2-1%)/7),"过期;第0期") ??
B2:=TEXT(INT((A2-TODAY()+7)/7),"[>0]第0周;过期") =IF(A2-TODAY()<0,"过期","第"&TEXT(INT((A2-TODAY())/7)+1,"")&"周")
下拉
页:
[1]