=IF(AH1=1,TEXT(((LEFT(AJ23,FIND("小时",AJ23)-1)*3600+MID(AJ23,FIND("小时",AJ23)+2,FIND("分钟",AJ23)-FIND("小时",AJ23)-2)*60+MID(AJ23,FIND("分钟",AJ23)+2,FIND("秒",AJ23)-FIND("分钟",AJ23)-2))+(LEFT(B23,FIND("小时",B23)-1)*3600+MID(B23,FIND("小时",B23)+2,FIND("分钟",B23)-FIND("小时",B23)-2)*60+MID(B23,FIND("分钟",B23)+2,FIND("秒",B23)-FIND("分钟",B23)-2)))/86400,"[h]小时m分钟s秒"),IF(AH1=-1,TEXT(((LEFT(AJ23,FIND("小时",AJ23)-1)*3600+MID(AJ23,FIND("小时",AJ23)+2,FIND("分钟",AJ23)-FIND("小时",AJ23)-2)*60+MID(AJ23,FIND("分钟",AJ23)+2,FIND("秒",AJ23)-FIND("分钟",AJ23)-2))-(LEFT(B23,FIND("小时",B23)-1)*3600+MID(B23,FIND("小时",B23)+2,FIND("分钟",B23)-FIND("小时",B23)-2)*60+MID(B23,FIND("分钟",B23)+2,FIND("秒",B23)-FIND("分钟",B23)-2)))/86400,"[h]小时m分钟s秒"),IF(AH1=0,"")))
这是我的长蛇阵 |