+ Reply to Thread
Results 1 to 6 of 6

Vlookup with 3 criteria

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    79

    Vlookup with 3 criteria

    I am trying to return a value with 3 lookups from vlookup.

    This is what I tried
    Please Login or Register  to view this content.
    Data table
    60060127 2589315470 76.65
    11
    60060127 2589315470 33.53 12

    Trying to match 60060127, 2589315470, 76.65 and return 11. When I use the formula above, I get #N/A

    Any ideas??

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup with 3 criteria

    Maybe a better way would be to use a helper column to combine those 3, then use that as the search criteria for the vlookup?
    It could also be done with INDEX/MATCH, but if you are not familiar with that, it may be a bit too complex for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-10-2013
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Vlookup with 3 criteria

    I tried index match formula but I got the same result #N/A

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup with 3 criteria

    vlookup ONLY used the 1st column in the range, so you still need to combine those 3, inside the MATCH

    A
    B
    C
    D
    E
    F
    G
    1
    Data table
    60060127
    2
    60060127 2589315470 76.65
    60060127
    2589315470
    76.65
    11
    2589315470
    3
    60060127 2589315470 33.53
    60060127
    2589315470
    33.53
    12
    33.53
    4
    5
    12
    using INDEX/MATCH
    6
    12
    using helper and vlookup

    A2=B2&" "&C2&" "&D2
    B5=INDEX(E2:E3,MATCH(G1&" "&G2&" "&G3,INDEX(B2:B3&" "&C2:C3&" "&D2:D3,0),0))
    B6=VLOOKUP(G1&" "&G2&" "&G3,A2:E3,5,0)

  5. #5
    Registered User
    Join Date
    06-10-2013
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Vlookup with 3 criteria

    Thank you, that helped

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Vlookup with 3 criteria

    Good stuff
    Thanks for the feedback

+ 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. Vlookup with 2 criteria help
    By YuriyBaron in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2018, 04:42 PM
  2. [SOLVED] Vlookup with more than one criteria
    By REECE01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-06-2018, 08:40 AM
  3. VLOOKUP with two criteria
    By hmr1913 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-14-2016, 06:12 PM
  4. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  5. 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
  6. VLOOKUP with 2 Criteria
    By nj8988 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 03:14 PM
  7. Vlookup 2 Criteria
    By trixxnixon in forum Excel General
    Replies: 5
    Last Post: 03-25-2010, 06:26 PM

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