An alternative solution is to use Power Query/Get and Transform. Here is the Mcode resulting from the U/I
Excel 2016 (Windows) 32 bit
|
A |
B |
C |
D |
1 |
Data.1 |
Data.2 |
Data.3.1 |
Data.3.2 |
2 |
Mr.Robert.Smith.Jr. |
2020 |
1 |
log |
3 |
Robert.Smith.Jr. |
2020 |
1 |
log |
4 |
Robert.Smith. |
2020 |
1 |
log |
Review PQ
In the attached file
Click on any cell in the new table
On the Data Tab, click on Queries & Connections
In the right window, double click to open Query
Review PQ steps
M-code basics:
- "let" is the start of a query
- "in" is the closing of a query
- each transformation step sits in between those 2 lines
- each step line is ended by a comma, except the last one
- "Source" is always the first step (Source Data)
- After "in" you have the last step referenced
Bookmarks