+ Reply to Thread
Results 1 to 3 of 3

How can I use VLOOKUP, INDEX and MATCH to search about 3 criteria

  1. #1
    Registered User
    Join Date
    05-12-2009
    Location
    Egypt
    MS-Off Ver
    Excel 2003, 2007, 2010 and 2013
    Posts
    56

    How can I use VLOOKUP, INDEX and MATCH to search about 3 criteria

    How can I use VLOOKUP, INDEX and MATCH to search about 3 criteria

    i use this formula
    =vlookup(T5,J2:N18,index(K2:K18,match(U5,J2:N2,0)),1)
    but result = #ref

    why?/

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: How can I use VLOOKUP, INDEX and MATCH to search about 3 criteria

    Without the workbook is really hard to guess. #ref is because the number given by index is out of the J2:n18 boundary.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    49,988

    Re: How can I use VLOOKUP, INDEX and MATCH to search about 3 criteria

    Perhaps if.....index(K2:K18,match(U5,J2:N2,0)),1)....is greater than 5? your vlookup range only has 5 columns

    If you are trying to find 3 criteria, it may be easier to use a helper column?
    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

+ 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