Dynamic transpose based on additional rows

Occasional Contributor

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 Screenshot should explain the problem.

 

transpose.PNG

3 Replies

@nailuenlue 

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.

@Riny_van_Eekelen 

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).

@nailuenlue Tried that but can't think of a way right now.