+ Reply to Thread
Results 1 to 5 of 5

Vlookup for matching a list of identifiers within a cell

  1. #1
    Registered User
    Join Date
    04-14-2009
    Location
    Boston, Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    2

    Vlookup for matching a list of identifiers within a cell

    Alright, this is going to be a little confusing, so I hope that I can make this coherant and someone can end my confusion in trying to figure this out.

    So I have a bunch of adresses in a column that contain various client locations that look something like these:

    Corporate Park - NEW DELHI-110065
    SEOUL, KR
    1883 SYDNEY 2000

    We need to know the country these addresses are reffering to and for some reason or another that information is lacking. If I have a list that defines each of these to what country they match such as:

    New Deli India
    Seoul South Korea
    Sydney Australia


    Is there a way to cross reference the original adress column to my definition sheet? I basically want to do an If statement that goes If(each cell in the adress column contains any of the markers from the definition list, give me that defined country, give me NA)

    I know this seems simple, but I have thousands of cells with unknown countries and cannot go through individually.

    Thanks so much if anyone is able to crack the code.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Vlookup for matching a list of identifiers within a cell

    posting a bigger sample on a spread sheet would be a help!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-14-2009
    Location
    Boston, Massachusetts
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Vlookup for matching a list of identifiers within a cell

    Thanks for your reply.

    I have attached a small sample of adresses with a brief explanation of what I am looking for. It’s a little more complicated than this, but I basically just need to know if there is a formula that can search through an individual cell, look for a specific text string that I have defined in a seperate table, and return true or false (or a row number, etc that I define) as to whether any of the markers apear in each cell.

    Let me know if this makes sense and thanks again.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    329

    Re: Vlookup for matching a list of identifiers within a cell

    Perhaps something like this, see attached.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-24-2008
    Location
    Delhi
    Posts
    104

    Re: Vlookup for matching a list of identifiers within a cell

    Quote Originally Posted by jarp22886 View Post
    Thanks for your reply.

    I have attached a small sample of adresses with a brief explanation of what I am looking for. It’s a little more complicated than this, but I basically just need to know if there is a formula that can search through an individual cell, look for a specific text string that I have defined in a seperate table, and return true or false (or a row number, etc that I define) as to whether any of the markers apear in each cell.

    Let me know if this makes sense and thanks again.
    Also Try This

    Just copy and Paste this Formula

    =LOOKUP(1E+300,SEARCH(F$3:F$15,A2),G$3:G$15)

+ 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