+ Reply to Thread
Results 1 to 10 of 10

Multi-criteria lookup help (XLookup?)

  1. #1
    Registered User
    Join Date
    08-06-2019
    Location
    New York
    MS-Off Ver
    Office 365 version 1907
    Posts
    7

    Multi-criteria lookup help (XLookup?)

    I'm trying to perform a lookup that needs to meet multiple criteria, and can't get it to work. As you see on the attached example, I have to lookup the value at the intersection of three column headers matching certain criteria, and one matching row criteria. I'm thinking it needs to be a nested XLookup, but I need help on this one. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Multi-criteria lookup help (XLookup?)

    This formula will do it, entered as an array formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is an array formula. After typing in the formula, do not hit ENTER--hit CTRL+SHIFT+ENTER. You have done it correctly if the formula in the formula box has {braces} around it. You cannot type in the braces; they are just an indicator that it is an array formula.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,443

    Re: Multi-criteria lookup help (XLookup?)

    Cell N2 array formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    OR XLOOKUP

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,832

    Re: Multi-criteria lookup help (XLookup?)

    Another option (not better, just different), would be:

    =FILTER(FILTER(B4:G6,J2&K2&L2=B1:G1&B2:G2&B3:G3),M2=A4:A6)

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,084

    Re: Multi-criteria lookup help (XLookup?)

    Just for fun, another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Multi-criteria lookup help (XLookup?)

    One more trail.

    Please Login or Register  to view this content.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  7. #7
    Registered User
    Join Date
    08-06-2019
    Location
    New York
    MS-Off Ver
    Office 365 version 1907
    Posts
    7

    Re: Multi-criteria lookup help (XLookup?)

    wk9128 Thanks for the Xlookup formula. It worked great!

    =XLOOKUP(M2,A4:A6,XLOOKUP(J2&K2&L2,B1:G1&B2:G2&B3:G3,B4:G6))

  8. #8
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Multi-criteria lookup help (XLookup?)

    Adding one more

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,443

    Re: Multi-criteria lookup help (XLookup?)

    @miketomei You're Welcome. Glad to help . Thank You for the feedback

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Multi-criteria lookup help (XLookup?)

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


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 7
    Last Post: 12-10-2021, 02:17 PM
  2. Multi-Criteria Table Lookup
    By SweetBaboo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-29-2021, 04:15 PM
  3. Multi-criteria V Lookup?
    By Nonprofit PM in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2020, 04:31 PM
  4. Multi criteria lookup with the ''=lookup' formula
    By Ronnet2 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-17-2015, 07:12 AM
  5. Multi Criteria Lookup
    By jsabo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2013, 02:06 AM
  6. Multi criteria lookup
    By spot1960 in forum Excel General
    Replies: 2
    Last Post: 04-08-2008, 10:33 AM
  7. Multi Criteria lookup
    By epotter in forum Excel General
    Replies: 3
    Last Post: 07-05-2006, 07:35 PM

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