+ Reply to Thread
Results 1 to 8 of 8

Vlookup for two different criteria

  1. #1
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Vlookup for two different criteria

    Hi Experts,
    Attempting to use two details from consecutive columns using vlookup function,
    Something is incorrect
    Please help
    Thanks
    Karnik
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Vlookup for two different criteria

    For Sheet1 C5 cell

    Please Login or Register  to view this content.
    This is an Array Formula confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula.

    Then pull down.

  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,118

    Re: Vlookup for two different criteria

    Use INDEX-MATCH. This is a n Array Formula, confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 04-03-2015 at 09:40 AM. Reason: I reattached the original file first time round
    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

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Vlookup for two different criteria

    Different method, with IFERROR that will return a blank instead of an error if there is no match found:

    Please Login or Register  to view this content.
    Also an array formula, confirmed with CTRL+SHIFT+ENTER
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Vlookup for two different criteria

    C5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Array Entered with Ctrl-Shift-Enter rather than just Enter.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Vlookup for two different criteria

    Variation on a theme:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    array entered

  7. #7
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Re: Vlookup for two different criteria

    Hello, TMS,Mcmahabot,Glenn Kennedy,Ali Kirsikis

    what a magnificent variations for solution to my issue !
    All array/function works, saved my huge amout of time and struggle.
    Thank you all very much
    Cheers
    Karnik

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,521

    Re: Vlookup for two different criteria

    You're welcome. Thanks for the rep.

+ 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. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  2. [SOLVED] Vlookup with Criteria
    By jani.pk in forum Excel General
    Replies: 7
    Last Post: 03-11-2014, 07:42 AM
  3. vlookup with two criteria
    By amartino44 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2013, 11:39 AM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. vlookup with two criteria
    By hollister22nh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2006, 10:42 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