IF(M3=0,
0,
IF(AND(COUNT(greparray(G3:I3,item=0))=2, M3<>0),
O3/N3/8 * (J3*1 + K3*1.5 + L3*3) +
P3/N3/8 * (J3*1 + K3*1.5 + L3*3) +
Q3/N3/8 * (J3*1 + K3*1.5 + L3*3),
IF(COUNT(greparray(G3:I3,item=0))=1,
"",
0
)
IF(M3=0, 0, IF(AND(COUNT(greparray(G3:I3,item=0))=2, M3<>0),
O3/N3/8 * (J3*1 + K3*1.5 + L3*3) + P3/N3/8 * (J3*1 + K3*1.5 + L3*3) + Q3/N3/8 * (J3*1 + K3*1.5 + L3*3),
-----------------------------------------
这里多了。。。
IF(M3=0,0,IF(AND(COUNT(greparray(G3:I3,item=0))=2, M3<>0),O3/N3/8 * (J3*1 + K3*1.5 + L3*3) + P3/N3/8 * (J3*1 + K3*1.5 + L3*3) +Q3/N3/8 * (J3*1 + K3*1.5 + L3*3),IF(COUNT(greparray(G3:I3,item=0))=1, "",0)))
去掉