+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Identify a word in random strings in a column and mark adjacent Column true or false.

  1. #1
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Identify a word in random strings in a column and mark adjacent Column true or false.

    Identify a word in random strings in a column and mark adjacent Column true or false.

    I have a long list of trade names in a column.(36000)
    CHINA CHEF
    CHINA CHINA
    CHINA CITY II RESTAURANT

    I would like to be able to identify all those which have a certain word in this case Restaurant. (not case sensitive). And then show them up in an adjacent column. Like below.
    CHINA CHEF FALSE
    CHINA CHINA FALSE
    CHINA CITY II RESTAURANT TRUE

    Excel can do this because I can identify all the cells using find and replace. My objective is to be able ot remove all those that have certain words as they are not what I am looking for. Any assistance would be great. Sadly though I have gone through on line linda’com courses I have a long way to go. I do not mind how I achieve the above.

    Here’s hoping to hear from you
    All the best
    Mark

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Identify a word in random strings in a column and mark adjacent Column true or fa

    If Those are all in one column, then in adjacent column

    =ISNUMBER(SEARCH("Restaurant",A1))

    where A1 contains first string and copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Re: Identify a word in random strings in a column and mark adjacent Column true or fa

    Wow that was fast. Thanks works great. I tried to add a second word inside a second set of ". Just messed it up. I have about 10 words so I can easily repeat your formula over 10 columns. but just advance my knowledge a little further is there a way to add more than one word.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Identify a word in random strings in a column and mark adjacent Column true or fa

    something like this:

    =OR(ISNUMBER(SEARCH({"Restaurant","Hotel","Diner"},A1)))

  5. #5
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    317

    Re: Identify a word in random strings in a column and mark adjacent Column true or fa

    Solved thanks. Your help has been enormously appreciated. Thanks again
    Mark

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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