temporalnaut
Oct 06, 2020Copper Contributor
Find a list of words in multiple columns
Hi, please, I use this formula in Excel to find out which cells contain certain text:
=IF(COUNT(SEARCH({"white","blue","red","black"},B1)),"Yes","")
As you can see, the formula looks for text in cell B1. How to extend the search field to the range of cells A1:AQ1? Because when I write A1:AQ1 there, it looks like nothing was found. Thank you
Try this formula:
=IF(SUM(COUNTIF(A1:Q1,{"*white*","*blue*","*red*","*black*"})),"Yes","")