+ Reply to Thread
Results 1 to 8 of 8

Help with Vlookup- lookup value range?

  1. #1
    Registered User
    Join Date
    08-04-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    27

    Help with Vlookup- lookup value range?

    I've tried a couple different way to get this vlookup to work and I can't seem to get it. Essentially want I need to do is lookup the values in c2:k2 with the table aray on sheet 1, then return the first column of number in sheet one if it matches the range of lookup values.

    I have attached what i'm looking at, if anyone can help, i would greatly appreciate it.

    Thanks,

    TJ
    Attached Files Attached Files
    Last edited by asburytl; 08-08-2011 at 11:05 AM.

  2. #2
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Help with Vlookup- lookup value range?

    What do you want in your lookup if more than one of the items in a row in sheet L9 are in Sheet1?

  3. #3
    Registered User
    Join Date
    08-04-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Vlookup- lookup value range?

    I want to lookup up if there is any value from c2:k2 that matches a value from sheet 1 and return the matching number from column 1 from the sheet1.

    Thanks again for looking at this.

  4. #4
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Help with Vlookup- lookup value range?

    My question is what happens if there's more than one match in a given line? For example in Row 3, both W61409 and W15900 are on the list in Sheet1. Do you want the first one, both, or ... ?

  5. #5
    Registered User
    Join Date
    08-04-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Vlookup- lookup value range?

    I would say both if possible? Whats your thoughts?

    Thanks,

    Tj

  6. #6
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Help with Vlookup- lookup value range?

    Haha. It's your spreadsheet, so whatever's most useful to you should be the guiding criteria, not what I think. So I would ask yourself what you plan to do with this information once you have it. If knowing that there's at least one match for a given row is sufficient, then I'd just show the first hit. If you want to know what your options are for each row, then I'd show them all.

    This formula will string together however many "hits" are identified in each row, separated by two spaces. It looks messier than it really is (the problem, as you discovered, is that vlookups only work with one input value, not a range). Does this work for you?

    Please Login or Register  to view this content.
    A variant of this (also messy) would be used to identify only the first hit.

  7. #7
    Registered User
    Join Date
    08-04-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Vlookup- lookup value range?

    Works perfect!! Thank you so much for your help.......

  8. #8
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Help with Vlookup- lookup value range?

    Happy to help. I think they want you to mark this as SOLVED if you're satisfied that you got a workable solution. Good luck!

+ 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