Forum Discussion
Elad_Magazanik
Nov 19, 2023Copper Contributor
Table transformation
Hi, does anyone have any idea on how to transform this table: To this table: Many thanks, Elad
OliverScheurich
Nov 19, 2023Gold Contributor
=LET(filldown,
SCAN("",A2:A15,LAMBDA(ini,arr,IF(ISTEXT(arr),arr,ini))),
HSTACK(
UNIQUE(filldown),
IFNA(DROP(REDUCE("",SEQUENCE(ROWS(UNIQUE(filldown))),LAMBDA(x,y,VSTACK(x,TOROW(FILTER(B2:B15,filldown=INDEX(UNIQUE(filldown),y)))))),1),"")
)
)
With Office 365 or Excel for the web you can apply this formula.
- Elad_MagazanikNov 20, 2023Copper ContributorThank you! This is amazing!