+ Reply to Thread
Results 1 to 4 of 4

Formula to search for one word in adjacent cell

  1. #1
    Forum Contributor
    Join Date
    06-15-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    100

    Formula to search for one word in adjacent cell

    Hi Guys,

    I've got a long list of company names, i'm trying to create a formula to see if they match but the problem is the names won't match exactly (e.g it would be Joe Bloggs Limited & Joe blogg's ltd). I've thought about it and think the best way to see if they match would be to take the first word from the first cell (in this case Joe) and then search for it in the next cell and return TRUE if it exists anywhere in the cell and FALSE if not.

    Any help is much appreciated, or if anyone has some alternative ideas as to how I could do it, it would be much appreciated.

    Thanks,

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Formula to search for one word in adjacent cell

    You can use either FIND or SEARCH or MATCH maybe.

    You could do the find on Replace(a1,"ltd","Limited")???
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    06-15-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    100

    Re: Formula to search for one word in adjacent cell

    Thanks,

    I've managed to get it working.

    Now im just wondering if its possible to search for a word (in cell A1 for example) in multiple cells (say B1:B1000) and to return the name in the first cell it finds?

    Thanks very much for all your help

  4. #4
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Formula to search for one word in adjacent cell

    Something like this might work for you

    =VLOOKUP("*"&A1&"*",B1:B1000,1,0)
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

+ 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 search from keyword list and return adjacent cell
    By Ninja2k in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2013, 08:44 AM
  2. Search for Word and Copy Adjacent Cell(s)
    By BrittanyK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2011, 04:05 PM
  3. Replies: 1
    Last Post: 01-25-2011, 10:50 PM
  4. Replies: 2
    Last Post: 09-14-2009, 05:15 AM
  5. Replies: 5
    Last Post: 11-18-2005, 06:10 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