Hello Excel Gurus!
I have a challenge which I cant' quite tackle using Power Query but I'm sure there's a genius out there who can!
My problem is as follows:
1. I have a "Colors" column which contains a list of concatenated colors
2. I want to split them by column and then dynamically rename each of the columns with the header name iterated by the next value (see example in Table 2)
Table 1 - Data from SharePoint Multiselect Field
Table 2 - How I want to see the data in Excel Spreadsheet
I figured out the easy part of splitting column by delimiter but I don't know how to add a dynamic column header name
Many thanks for your time and help with this one!
I have a challenge which I cant' quite tackle using Power Query but I'm sure there's a genius out there who can!
My problem is as follows:
1. I have a "Colors" column which contains a list of concatenated colors
2. I want to split them by column and then dynamically rename each of the columns with the header name iterated by the next value (see example in Table 2)
Table 1 - Data from SharePoint Multiselect Field
Colors |
Red,Blue,Green |
Purple |
Grey,Brown,Grey,Hot Pink |
White,Amber |
Yellow,Orange,Black,Greem,Turqoise |
Table 2 - How I want to see the data in Excel Spreadsheet
Colors | Headername 1 | Headername 2 | Headername 3 | Headername 4 | Headername 5 | Headername 6 and so on... |
Red,Blue,Green | Red | Blue | Green | |||
Purple,Turqoise,Blue | Purple | |||||
Grey,Brown,Grey,Hot Pink | Grey | Brown | Grey | Hot Pink | ||
White,Amber | White | Amber | ||||
Yellow,Orange,Black,Greem,Turqoise | Yellow | Orange | Black | Green | Turqoise |
I figured out the easy part of splitting column by delimiter but I don't know how to add a dynamic column header name
Many thanks for your time and help with this one!