Forum Discussion
nailuenlue
Feb 04, 2021Copper Contributor
Dynamic transpose based on additional rows
Hi 🙂 Due to the great support I got here, I would like to use your knowhow on the following problem..I would like to add additional columns based on the row entries in another column. The Scree...
Riny_van_Eekelen
Feb 04, 2021Platinum Contributor
You can make your headers dynamic by using
=TRANSPOSE(SORT(UNIQUE(Table3[Role])))
in D1
Then, in D2 enter
=SORT(FILTER(Table3[Position]:Table3[Position],Table3[Role]:Table3[Role]=D1))
and copy/paste towards the right. Do NOT drag the formula to the right.
Please find a mock-up attached.
- nailuenlueFeb 04, 2021Copper Contributor
Thanks a lot for the great example 🙂 Is there a way to make the D2-Part dynamic as well (without the need to copy paste the formula)? As the left list grows, the columns on the right are added and the references (positions) are listed below (the numbers in your example).
- Riny_van_EekelenFeb 04, 2021Platinum Contributor
nailuenlue Tried that but can't think of a way right now.