If Cell In Column Partially contains text in another Column

前端 未结 2 1619
隐瞒了意图╮
隐瞒了意图╮ 2020-12-20 08:38

I have been looking through all different sources and cannot find the exact answer to this. Was hoping someone can help me out.

I have two columns:



        
2条回答
  •  别那么骄傲
    2020-12-20 09:22

    This will do it:

    =SUMPRODUCT(ISNUMBER(SEARCH(A1,$B$1:$B$4))*1)>0
    

    The SUMPRODUCT() forces it to iterate through Column B and keep track of the ones that return true. So if any are found it adds 1 to the pool.

    The >0 test whether any returned TRUE.

提交回复
热议问题