满足多个不同条件计算
大神求助!有5种货型货型A25、A50、A120收费一样,存放天数小于30天收费0.008,小于60天收费0.01,小于90天收费0.014,小于180天收费0.042,小于270天收费0.065,小于360天收费0.089
货型A240、A999收费不一样
具体看附件
谢谢!!!
=VLOOKUP(A2,G:O,MATCH(B2-1%,{0,3,6,9,12,18,27,36}*10)+1,) C2=LOOKUP(B2,--LEFTB(H$2:O$2,FIND("<",H$2:O$2)-1),OFFSET(H$2:O$2,MATCH(A2,G$3:G$7,),)) =SUMPRODUCT(OFFSET($H$3:$O$3,MATCH(A2,$G$3:$G$7,)-1,)*TRANSPOSE(FREQUENCY(B2,{30;60;90;120;180;270;360}))) 数组:=VLOOKUP(A2,G:O,MATCH(B2-1%,LEFTB(LEFT(H$2:O$2,FIND("<",H$2:O$2)-1),3)*1)+1,) 改常量,非数组:=VLOOKUP(A2,G:O,MATCH(B2-1%,{0,30,60,90,120,180,270,360})+1,)
页:
[1]