Forum Discussion

leolapa's avatar
leolapa
Brass Contributor
Jan 24, 2023
Solved

Dynamic MATCH 2D array with one-cell spilled formula

I've got the sample table below with a list of parts/quantities and respective price quotes from 5 dummy suppliers:     What I need to accomplish here is to automatically generate a separate...
  • mtarler's avatar
    Jan 24, 2023

    leolapa I formatted your data as a Table and then used this:

    =LET(h,DROP(PartTable[#Headers],,2),
         s,SEQUENCE(1,COLUMNS(PartTable)-2,3),
         REDUCE(s-2,SEQUENCE(ROWS(PartTable)),
            LAMBDA(p,r, VSTACK(p,SORTBY(h,INDEX(PartTable,r,s))))))

    see attached

Resources