+ Reply to Thread
Results 1 to 9 of 9

Partial Match V-Lookup with two different sheets

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    Partial Match V-Lookup with two different sheets

    I'm running into an issue creating a Partial Match V-Lookup using two different sheets. While I have managed to get the V-Lookup done for an exact match, I'm struggling to get the same accomplished for a Partial Match. Here is what I'm trying to accomplish:

    Based on the SKU (Sheet 1 Column A) I need to know what Gender the SKU refers too (Sheet 1 Column B is the formula field).

    So if parts of the SKU in Sheet 1 Column A match the SKU in Sheet 2 Column A then answer with the corresponding Gender (Sheet 2 Column B).

    I hope that makes sense and I hope that someone can give me some help with the formula.

    Thanks,

    Sweden12
    Attached Files Attached Files
    Last edited by Sweden12; 03-04-2019 at 01:25 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Partial Match V-Lookup with two different sheets

    How about in B2 on Sheet1 copied down >> =VLOOKUP(MID(A2,4,3)+0,Sheet2!$A$2:$B$5,2,0)
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    Re: Partial Match V-Lookup with two different sheets

    Thank you for your feedback and help. This works great. What I forgot to mention is that the SKU's are not consistent. I have updated the sample file so that's it's more clear. Sorry about that.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Partial Match V-Lookup with two different sheets

    Not sure you updated your example as it looks the same.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Partial Match V-Lookup with two different sheets

    Jeff's formula works fine on the file attached to your first post - have you updated the sample and posted it back?

    Pete

  6. #6
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    Re: Partial Match V-Lookup with two different sheets

    Sorry, just updated it now. Took me a while to figure out how to replace the attachment.

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Partial Match V-Lookup with two different sheets

    How about >> =VLOOKUP(LOOKUP(99^99,--LEFT(MID(A2,MIN(FIND({1,2,3,4,5,6,7,8,9,0},$A2&"1023456789")),999),ROW(INDIRECT("1:999")))),Sheet2!$A$2:$B$5,2,0)

  8. #8
    Registered User
    Join Date
    09-30-2014
    Location
    Johns Island, South Carolina
    MS-Off Ver
    Office for Mac 2011
    Posts
    25

    Re: Partial Match V-Lookup with two different sheets

    That worked. Thank you very much for your help.

  9. #9
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Partial Match V-Lookup with two different sheets

    You are very welcome and thanks for the feedback. Happy it helped.

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

+ 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. Partial Match Lookup
    By lemonap618 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2019, 12:37 AM
  2. [SOLVED] Lookup partial values and if match return partial value from another cell
    By Renejorgensen in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-01-2017, 07:53 AM
  3. [SOLVED] Index Match with Partial Match in Lookup Array
    By AliGW in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2016, 03:13 PM
  4. [SOLVED] Partial Match Lookup
    By bjnockle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2015, 02:24 AM
  5. Replies: 5
    Last Post: 02-24-2011, 11:26 AM
  6. Partial Match Lookup
    By mikesc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-09-2011, 07:52 AM
  7. [SOLVED] partial lookup/match
    By myra_deV in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-09-2006, 10:25 AM

Tags for this Thread

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