求EXCEL高手。 100
看着太晕了,这种公式不难,就是烦。懒得去验算了,你先看看有问题再说。看了下你的客户期望时间都是两个小时,公式就直接取值2小时了。
打包:=IF((F2-LEFT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24*40%,"合格","超时")
履约:=IF(COUNT(H2:I2)=1,IF((H2-RIGHT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24,"及时","超时"),IF((I2-RIGHT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24,"及时","超时"))
配送:=IF(COUNT(H2:I2)=1,IF((H2-RIGHT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24,"及时","超时"),IF(OR((I2-RIGHT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24,(I2-G2<=1/24)),"合格","不及时"))
妥投:=IF(COUNT(H2:I2)=1,IF((H2-RIGHT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24,"及时","超时"),IF((I2-RIGHT(D2,LEN(D2)-FIND(" - ",D2)-2))<=2/24,"合格","不合格"))
2024-07-20 广告
第二步,在A1处输入本公式 =INDIRECT(INDEX(表名,ROW())&"!"&ADDRESS(1,COLUMN())), 现在可以选横拖,然后竖拖。就是你要的结果了。
注意,如果你在定义名称时不是用的“表名”,请在第二步公式中将“表名”改为你定义的名称即可。