+ Reply to Thread
Results 1 to 5 of 5

trying to find cells with certain words and to reference them in another column.

  1. #1
    Registered User
    Join Date
    01-28-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    14

    trying to find cells with certain words and to reference them in another column.

    Hello,

    Using Office 2007 and trying to find word in cells.

    I have to find all the cells that contain the word JOS and put the word JOS in another cell.

    Cell B1 contains: Procedures for Clearing (JOS 6-G)

    so I want C1 to put now contain JOS for easy sorting.

    Thanks for your help on this.

    Bruce

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: trying to find cells with certain words and to reference them in another column.

    =IF(COUNTIF(B1,"*"&"JOS"&"*")>0,"JOS","")

    or

    =IF(ISNUMBER(SEARCH("jos",B1)),"JOS,","")
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    01-28-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: trying to find cells with certain words and to reference them in another column.

    Worked perfectly.

    Thank you.

    Why does it work with =IF(ISNUMBER

    That seems strange.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: trying to find cells with certain words and to reference them in another column.

    If that takes care of your original question, please select Thread Tools from the menu link just above your first post and mark this thread as SOLVED.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: trying to find cells with certain words and to reference them in another column.

    SEARCH(find what, where) returns the starting position of what it finds.

    =SEARCH("bert", "robert") = 3 because "bert" appears beginning at the third character.

    =SEARCH("bert", "william") = error, because it doesn't find it.

    Therefore, ISNUMBER(SEARCH()) returns true if it finds it, and false if it doesn't.

+ 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. Find Words from an entire column in a cell
    By sra233 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-31-2013, 11:41 PM
  2. Find Words from an entire column in a cell
    By sra233 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2013, 04:16 PM
  3. [SOLVED] Find multiple words from one text column in another one!
    By arhicad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2012, 10:56 AM
  4. Replies: 4
    Last Post: 04-27-2012, 06:38 AM
  5. Replies: 3
    Last Post: 06-06-2009, 12:18 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