2017-08-06 43 views
0

我正在尋找一種方法在列A到B中查找匹配項並突出顯示。我在論壇上嘗試了很多excel公式,但運行起來卻不吉利。Excel公式在CoulmnB中查找具有句子的ColumnA值

對於如..

**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

你能告訴我們你的全面和詳盡的研究迄今發現了什麼?如果您可以向我們展示您正在開發的部分解決方案,那麼人們會更加傾向於提供幫助 - 努力會在此努力。 – halfer

+0

https://stackoverflow.com/q/44825632/1425848 – garyh

回答

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

+0

的副本完全按照我想要的方式工作並一直在尋找。你一定是天才excel大師。非常感謝 !!。 – gm3gm