+ Reply to Thread
Results 1 to 9 of 9

Super tricky lookup problem

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Angry Super tricky lookup problem

    Hello Excel people,

    I have an interesting problem I am trying to solve: We are searching for specific strings of text that are amongst lots of other characters (noise) as in the example below.

    whj32Johndddejrj

    The main problem is that the strings we are looking to locate in the noise are defined by a reference table (lookup table). Vlookup is not finding it easy to search for the data and is returning the largest value which is of no use.

    Find attached the actual example of what I am working with.

    Your thoughts on this are appreciated!

    Niceguy21
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Super tricky lookup problem

    In addition to this the the lookup table is not going to be in matching sequential order to the ad name column. therefore simple workarounds like using the find function on a cell by cell basis won't work: I.E it has to lookup the entire table.

  3. #3
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Super tricky lookup problem

    Not sure how big your lookup list is but please see if you can adapt the attached

    Dave H
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Super tricky lookup problem

    Quote Originally Posted by Dave H9 View Post
    Not sure how big your lookup list is but please see if you can adapt the attached

    Dave H
    This looks promising.. just getting my head around some of these functions now. we are likely amending 50 new lookup values per week..

  5. #5
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Super tricky lookup problem

    Quote Originally Posted by Dave H9 View Post
    Not sure how big your lookup list is but please see if you can adapt the attached

    Dave H
    Yes, an iterative approach using composite IF functions.

    Unfortunately, with all the additional Lookups we will adding, this could get very awkward. Is there anyway to automate the process such that it
    will continually cross check down the entire lookup table until a match is found, and if non are found the the process stops?

    Your thoughts thanks

  6. #6
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Super tricky lookup problem

    Ok found this here

    See what you think!

    Dave H
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Super tricky lookup problem

    Quote Originally Posted by Dave H9 View Post
    Ok found this here

    See what you think!

    Dave H
    #

    Many thanks for this! this formula has indeed worked.. this problem has introduced me to many advanced techniques that will require further study... in particular array functions.

  8. #8
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Super tricky lookup problem

    Quote Originally Posted by Dave H9 View Post
    Ok found this here

    See what you think!

    Dave H

    Hi again Dave,

    One question that I have is regarding the range A8:A10.. the problem is that empty cells cause the function to output a N/A values across every row.

    is there some way to modify the equation to work with empty rows in lookup table? This way we can predefine the range A8:A8000 and we wont have to keep updating the range size.

    Your thoughts,

    Regards!

  9. #9
    Forum Contributor Dave H9's Avatar
    Join Date
    03-10-2011
    Location
    Manchester, England
    MS-Off Ver
    Excel 2007
    Posts
    418

    Re: Super tricky lookup problem

    Not sure how to include this in the formula but can solve with a helper column (attached)

    Hope this solves your problem.

    Dave H
    Attached Files Attached Files

+ 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