+ Reply to Thread
Results 1 to 5 of 5

Smart Vlookup

  1. #1
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Smart Vlookup

    In the attached file I am trying to get Col B (via a formula) to find the appropriate color code (Col I) but using the data in Col A.

    I know how to do exact lookup no issue, but when I try to use TRUE instead of FALSE i still get an NA response.

    I can only assume that there might be a cheater cell needed someplace to for the life of me I cant figure it out.

    Thank you for your help.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Smart Vlookup

    In your real data, is it always:

    PRODUCT154

    or even, is it always PRODUCT123 Product plus 3 digits...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Smart Vlookup

    No reply...

    This ALMOST works (Green cells) :

    =IFERROR(LOOKUP(1000,SEARCH(MID(LEFT(A2,LEN(A2)-4),SEARCH(" ",A2,SEARCH("Product",A2))+1,255),$I$2:$I$25),$J$2:$J$25),"")

    However, it does not match "Canvas Ant Beige" with "Canvas Antique Beige".

    I think you have two choices here. EITHER use a bit of VBA to find a partial match (I can help here... up to a point) OR you can download the free microsoft add-in "fuzzy lookup". Use it to match the result of the new formula in the beige cells:

    =MID(LEFT(A2,LEN(A2)-4),SEARCH(" ",A2,SEARCH("Product",A2))+1,255) with your code list.

    Let me know what you think.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Re: Smart Vlookup

    VBA would always be better if you could help. i wont be the only person using this so it needs to work everytime.

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Smart Vlookup

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

+ 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] smart form
    By pgc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2005, 10:55 AM
  2. Smart Report
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  3. Smart Report
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  4. [SOLVED] Smart Report
    By Jesh in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. [SOLVED] Smart Report
    By Jesh in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  6. Smart VLookup...
    By Arishy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2005, 08:05 AM
  7. Smart SUM
    By djarcadian in forum Excel General
    Replies: 1
    Last Post: 02-02-2005, 08:49 AM

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