Excel Exact Word Matching

前端 未结 5 847
遥遥无期
遥遥无期 2021-01-23 00:38

Let\'s say I have \"Vegas is great\" in cell A1. I want to write a formula that looks for the exact word, \"gas\" in cells. Vegas ≠ gas, but the only search formula I\'m finding

5条回答
  •  一生所求
    2021-01-23 01:19

    The Find function is case sensitive. The SEARCH function is not. There is no need for the LOWER function if you are using SEARCH.

    SEARCH(, , [optional])

    Wrap both the find_text and within_text in spaces and perform your SEARCH.

            SEARCH function

    The formula in B1 is,

    =ISNUMBER(SEARCH(" gas ", " "&A1&" "))

    Fill down as necessary.

提交回复
热议问题