+ Reply to Thread
Results 1 to 4 of 4

Formula to find certain word in cell

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Formula to find certain word in cell

    Hi there

    I have data in range A2:A1000. It contains sentences.

    What I'm trying to figure out is a way to let me know, if certain cells contain specific word "immigration" or "immi" or "immig" etc

    Here is an example
    AGRWL, Sid (XVW) Immigration Con

    SO basically, if the formula can let me know with a "True" or "false" if it contains immigration or a rendition of that word. pls and thx you!

    I tried this formula, but it's not working properly
    Please Login or Register  to view this content.
    pls help..and thx you!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Formula to find certain word in cell

    All you need is this:

    =ISNUMBER(SEARCH("immigration",A20))

    It will return either TRUE or FALSE.

    You could also make use of COUNTIF and wildcards, like this:

    =COUNTIF(A20,"*immigration*")>=1

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: Formula to find certain word in cell

    hey guys


    just one more modification....i noticed i need additional words that I need to check along with "immigration"...can you guys let me know how I can add more criteria?

    For example, I need the formula to check for the following types of word, and give me a 1 or yes
    immigration
    immirg
    immigrati
    H-1B
    H-4


    there may be other words as well, but those are it for now....thxs all!

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to find certain word in cell

    Here's one way:

    =SUM(COUNTIF(A20,{"*immig*","*H-1B*","*H-4*"}))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula to find a word in a cell and return what it says around it
    By Scottpet in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2018, 09:15 AM
  2. [SOLVED] Formula - If find 3 possible words within a cell, return the word found?
    By nobodyukno in forum Excel General
    Replies: 4
    Last Post: 03-17-2017, 01:30 PM
  3. [SOLVED] Formula Help for Array Word Search to find key words and put in adjacent cell
    By tains in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-25-2017, 06:36 PM
  4. Replies: 5
    Last Post: 01-14-2016, 12:04 AM
  5. [SOLVED] Which formula do I have to use to find if a cell contains a specific word?
    By pingipingi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-26-2015, 09:00 AM
  6. Find word and insert formula in cell to right
    By ScabbyDog in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2013, 01:33 AM
  7. Replies: 6
    Last Post: 02-06-2013, 07:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1