+ Reply to Thread
Results 1 to 4 of 4

MATCH against All Columns return SPILL Dynamic Array

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    MATCH against All Columns return SPILL Dynamic Array

    Given the tables below, and that I have a dynamic array values to lookup of (A9:A11), How do I get the INDEX MATCH value, where the MATCH have to lookup at all columns.

    I was able to do it via 1 cell and then copy down the formula, but I'd like to apply it dynamically. I tried using BYROW(LAMBDA(...)) functions, but it returns a #VALUE! instead.

    What did I miss here?

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    LOOKUP against all columns return Spill Dynamic Array.png

    PS: I'd like to emphasize here that if the lookup value (cell AA9:A11) happens to be 0 or blank, then I'd like to return blank ("") instead of returning Table1[Parent ID], since I have many blanks in the ID #* columns
    Last edited by dluhut; 08-19-2022 at 03:15 PM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: MATCH against All Columns return SPILL Dynamic Array

    Hi,
    If I'm not mistaken you have already asked same question here:
    https://www.excelforum.com/excel-for...mic-array.html

    this is the solution you have been given by Fluff13 :

    =BYROW(A9#,LAMBDA(br,INDEX(Table1[Parent ID],MATCH(1, MMULT(--(Table1[[ID '#1]:[ID '#10]]=br),SEQUENCE(COLUMNS(Table1[[ID '#1]:[ID '#10]]),,,0)),0))))

  3. #3
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: MATCH against All Columns return SPILL Dynamic Array

    @belinda200...I did checked his solution earlier and wasn't able to get it right...and now tested it again, it works!!!

    I must have been sleeping.

    Reps up to you!

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,419

    Re: MATCH against All Columns return SPILL Dynamic Array

    I think you're not doing anything wrong, but it's due to a limitation of Microsoft in the LET function.
    Without LET, things are going well. See attachment.

    EDIT, Sorry After posting, I saw that Belinda had sent almost the same reply.
    Last edited by HansDouwe; 08-19-2022 at 03:58 PM.

+ 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] IFS MATCH with wildcard to return Dynamic Array
    By dluhut in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2022, 11:17 AM
  2. [SOLVED] COUNT Dynamic Array based on Date to return Dynamic Array Spill Range
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-06-2022, 01:14 PM
  3. [SOLVED] RETURN FVSCHEDULE as a SPILL ARRAY
    By James McEwan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2021, 01:22 PM
  4. [SOLVED] Find last MATCH for each row on a 2D running array with ONE "spill" formula
    By leolapa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2021, 11:34 AM
  5. [SOLVED] Return MAX (or LARGE) for each 2D array's row with only ONE "spill" formula
    By leolapa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-22-2021, 08:50 AM
  6. [SOLVED] Dynamic Array Spill and Sort into 2 Columns
    By philchi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-03-2021, 04:54 PM
  7. [SOLVED] Array Match and Return value upon multiple array match criteria
    By VegetaOSX in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2015, 05:50 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