Excel公式在CoulmnB中查找具有句子的ColumnA值

时间:2017-08-06 14:01:55

标签: excel-formula

我正在寻找一种方法来找到A列到B列的匹配并突出显示。我在论坛中尝试了很多excel公式,但运气不好。

例如......

**ColumnA**

John23    
Peter    
Nick5    
Kevin4    
T12345

ColumnB

John23 is outside the yard    
Kevin4 is the famous guy    
ABC is with Nick5    
Who is the person at the door. is it Peter?    
R345 Qrtfjd T12345    
Kevin is not the match    
Only Kevin4 is the match    
John is not the match

1 个答案:

答案 0 :(得分:2)

=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$1:INDEX(A:A,MATCH("zzz",A:A)))/(ISNUMBER(SEARCH($A$1:INDEX(A:A,MATCH("zzz",A:A)),B1))),1)),"")

enter image description here