Forum Discussion
FrenchyFri27
Feb 01, 2023Copper Contributor
VLOOKUP or MATCH - Need Unique Returns on Multiple Finds
Hello All, Need help on this one. Having issues. I'm trying to summarize a huge list of data. In this huge list of data I need to extract (summarize) extra ingredients used by work order number i...
- Feb 01, 2023
If you have access to REDUCE, this may work for you:
'Dynamic' a dynamic range for your data in columns A and B =LET(arr, Sheet1!$A$2:$B$10000, FILTER(arr, (TAKE(arr, , 1) <> "") * (TAKE(arr, , -1) <> ""))) 'Header' - an array constant ={"WO#", "Extra(s)"} 'Analyze' Lambda - to be called within REDUCE. Filters each unique Work Order, obtains the unique ingredients, strings them together, and stacks. =LAMBDA(a,v,LET( WO, TAKE(Dynamic, , 1), ingredients, TAKE(Dynamic, , -1), filtered, TEXTJOIN(", ", 1, UNIQUE(FILTER(ingredients, WO = v))), VSTACK(a, HSTACK(v, filtered)) )) Sheet level formula: =REDUCE(Header,UNIQUE(TAKE(Dynamic,,1)),Analyze)
OliverScheurich
Feb 01, 2023Gold Contributor
An alternative could be Power Query. In the attached file you can add data into the blue dynamic table and then click in any cell of the green table and right-click with the mouse and select refresh in order to update the green result table.