Forum Discussion
JTMoneyBest
Apr 05, 2022Copper Contributor
Help transposing rows of data with repeated headings into columns with unique headings
Hello, I always receive raw data in the form of 1x9 rows of numerical data. Each cell of the row is labeled S1, S2, S3, etc. (usually up to S4) but the labels can be repeated and in random order each...
- Apr 05, 2022
Lorenzo
Apr 05, 2022Silver Contributor
Please post a picture of what you receive + another one with what you expect, this will definitively clarify things. Thanks
JTMoneyBest
Apr 05, 2022Copper Contributor
- LorenzoApr 05, 2022Silver Contributor
If you have the LAMBDA functions
in K1:
=SORT(UNIQUE(A1:I1,TRUE),,,TRUE)in K2:
=MAKEARRAY(MAX(COUNTIF(A1:I1,K1#)),COLUMNS(K1#), LAMBDA(rw,cl, IFERROR(INDEX(FILTER(A2:I2,A1:I1=INDEX(K1#,,cl)),1,rw),"") ) )- JTMoneyBestApr 05, 2022Copper ContributorI think we posted at the same time. Can I use the above when I have multiple input rows as in my new example? Thanks.
- LorenzoApr 05, 2022Silver Contributor
- LorenzoApr 05, 2022Silver Contributor
- JTMoneyBestApr 05, 2022Copper Contributor
Lorenzo Thank you! This works very well. But what about if I need to transpose multiple rows' data into the columns? Here is an example image of what I mean. Thanks again!