Excel: Search for a list of strings within a particular string using array formulas?

后端 未结 4 1108
余生分开走
余生分开走 2020-11-29 05:20

I want to search a cell for a list of words. I thought this would work as an array formula:

{=FIND(,

        
4条回答
  •  情书的邮戳
    2020-11-29 06:03

    Adding this answer for people like me for whom a TRUE/FALSE answer is perfectly acceptable

    OR(IF(ISNUMBER(SEARCH($G$1:$G$7,A1)),TRUE,FALSE))
    

    or case-sensitive

    OR(IF(ISNUMBER(FIND($G$1:$G$7,A1)),TRUE,FALSE))
    

    Where the range for the search terms is G1:G7

    Remember to press CTRL+SHIFT+ENTER

提交回复
热议问题