我有以下excel公式,它从sheet1
获取输入,索引并匹配sheet2
上的信息,并在sheet2
上提供sheet1
值。对不起,如果这令人困惑。这是有效的,但是当它为空Sheet2
时对C列进行索引时似乎选择0。相反,我想跳过空白。这可能吗?
=IFERROR(INDEX(Sheet2!C2:C5000,MATCH(1,INDEX((Sheet2!G2:G5000=$J2)*(Sheet2!H2:H5000=$K2)*(Sheet2!A2:A5000=$E2)*(Sheet2!Y2:Y5000<=$A2)*(Sheet2!Z2:Z5000>=$A2)*(Sheet2!X2:X5000<=$B2)*(Sheet2!W2:W5000>=$B2)*(Sheet2!AA2:AA5000>=($C2/0.9)),),0)),"Does Not Exist")
答案 0 :(得分:0)
没关系,我明白了。我将公式更新为&Sheet2!G2:G5000<>
并且有效!
=IFERROR(INDEX(Sheet2!C2:C5000,MATCH(1,INDEX((Sheet2!G2:G5000=$J2&Sheet2!G2:G5000<>"")*(Sheet2!H2:H5000=$K2)*(Sheet2!A2:A5000=$E2)*(Sheet2!Y2:Y5000<=$A2)*(Sheet2!Z2:Z5000>=$A2)*(Sheet2!X2:X5000<=$B2)*(Sheet2!W2:W5000>=$B2)*(Sheet2!AA2:AA5000>=($C2/0.9)),),0)),"Does Not Exist")