+ Reply to Thread
Results 1 to 7 of 7

xlookup with two d array lookup value

  1. #1
    Registered User
    Join Date
    08-22-2022
    Location
    Iowa
    MS-Off Ver
    365
    Posts
    5

    xlookup with two d array lookup value

    trying to find a value in a large data set. Need to use multiple criteria which I have found with a filter function (2d array) but when I pair the lookup array (2d as well) it returns a value. Can't tell in the formula eval if it is pairing correctly. If I split the 2d lookup array into single arrays then I can use the & operator to get it to work. Does excel support 2d spilled array lookup?

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: xlookup with two d array lookup value

    HOW TO ATTACH YOUR SAMPLE WORKBOOK:

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-22-2022
    Location
    Iowa
    MS-Off Ver
    365
    Posts
    5

    Re: xlookup with two d array lookup value

    Here it is sorry about that.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: xlookup with two d array lookup value

    What do you expect the result to be if there are 2 matches found?
    like in the example below:

    AAL AMERICAN AIRLINES GROUP INC 5.5
    AAL AMERICAN AIRLINES GROUP INC 4.625

  5. #5
    Registered User
    Join Date
    08-22-2022
    Location
    Iowa
    MS-Off Ver
    365
    Posts
    5

    Re: xlookup with two d array lookup value

    I'd expect the first match for both of them.

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: xlookup with two d array lookup value

    did you try VLOOKUP?

  7. #7
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: xlookup with two d array lookup value

    see if this works for you:

    =FILTER(VLOOKUP(C3#,UNIQUE(FILTER(' data'!A:C,(' data'!D:D=B2))),3,0),{1,0})
    Attached Files Attached Files

+ 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. [SOLVED] Xlookup or what formula? (with multiple column on lookup array)
    By Elainefish in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 04-27-2022, 05:04 AM
  2. [SOLVED] Xlookup when both the lookup value and lookup array are separated by commas
    By Eades1412 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 02-08-2022, 04:49 AM
  3. XLookup array formula will not fill down
    By botoole54 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-07-2022, 04:40 AM
  4. Replies: 7
    Last Post: 12-10-2021, 02:17 PM
  5. Lookup xLookup or something..
    By xKelly in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2021, 09:24 PM
  6. Replies: 7
    Last Post: 07-16-2021, 11:04 AM
  7. XLOOKUP with a dynamic return array
    By phrankndonna in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2020, 09:33 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