我试图找到一个会返回" xx no"在我的例子中。我已尝试过多个公式,并不断提出不适用。
=INDEX(C1:C11,MATCH(F2,A1:A11,0),MATCH("xx",C1:C11,0))
{=INDEX(C1:C11,MATCH(F2,A1:A11,0),MATCH("xx",C1:C11,0))}
=INDEX(C1:C11,MATCH(F2,A1:A11,0),MATCH(1,ISNUMBER(SEARCH("xx",C1:C11)),0))
{=INDEX(C1:C11,MATCH(F2,A1:A11,0),MATCH(1,ISNUMBER(SEARCH("xx",C1:C11)),0))}
=INDEX(A1:C11,MATCH(F2,A1:A11,0),MATCH(ISNUMBER(SEARCH("xx",C1:C11)),0))
{=INDEX(A1:C11,MATCH(F2,A1:A11,0),MATCH(ISNUMBER(SEARCH("xx",C1:C11)),0))}
=INDEX(C1:C11,MATCH(F2,A1:A11,0),MATCH(ISNUMBER(SEARCH("*"&"xx"&"*",C1:C11)),0))
{=INDEX(C1:C11,MATCH(F2,A1:A11,0),MATCH(ISNUMBER(SEARCH("*"&"xx"&"*",C1:C11)),0))}
答案 0 :(得分:1)
使用:
=INDEX(C:C,AGGREGATE(15,6,ROW($C$2:$C$11)/(($A$2:$A$11=F2)*(ISNUMBER(SEARCH(F3,$C$2:$C$11)))),1))
或者你可以使用这个公式:
=INDEX($C$2:$C$11,MATCH(1,INDEX(($A$2:$A$11=F2)*(ISNUMBER(SEARCH(F3,$C$2:$C$11))),),0))
答案 1 :(得分:1)
这是一个简短的数组公式:
{=INDEX(A2:C8,MATCH(F2&F3,A2:A8&LEFT(C2:C8,LEN(F3)),0),3)}
看起来您已经了解了数组公式,然后按Ctrl和Shift以及Enter
进入