Forum Discussion
Macros Use
Hi iub_ek
The data and your explanation is not sufficient to answer.
You did not specified how you separate these columns.
hi. Apologies on that i used Text to columns to separate the items lumped together so they are on different columns. However i then need to know how the separated items can be on different rows below the initial column.i.e Consultaion,fbs,fbs, then becomes
Consultaion
fbs
Fbc
- Logaraj SekarMay 28, 2018Steel Contributor
Hi iub_ek
Still, i can't able to get you.
Explain what is Consultaion,fbs,fbs and where is it in excel?
- iub_ekMay 31, 2018Copper Contributor
hello. thought you were trying to help me out.
- SergeiBaklanMay 31, 2018Diamond Contributor
Hi iub_ek,
Than could be done with Power Query. Straightforward variant
- load raw data to query,
- split "servicerendered" on columns by comma delimiter;
- unpivot generated new columns;
- remove attribute column;
- land the table back to Excel sheet
Please see in Sheet1 attached.
To make above bit more flexible simple code is added in second query to define max number of separators and based on it to generate list of columns on which to split. Rest is the same. Exactly the same result in Sheet2 in attached.