Data in column A. I want to split the data to 3 columns and flip the lastname with firstname. Lastname is ALWAYS capitalized.
When firstname or/and lastname consists of 2 words then it can be in 1 cell. Look for example (2 BERNAL Egan Arley) beneath. Any help is appreciated.
Data to change:
[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[/table]
Result should be:
[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[tr][td]
[/table]
When firstname or/and lastname consists of 2 words then it can be in 1 cell. Look for example (2 BERNAL Egan Arley) beneath. Any help is appreciated.
Data to change:
[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
A
[/td][/tr][tr][td]1
[/td][td]Names[/td][/tr][tr][td]
2
[/td][td]1 FROOME Christopher[/td][/tr][tr][td]
3
[/td][td]2 BERNAL Egan Arley[/td][/tr][tr][td]
4
[/td][td]3 CASTROVIEJO Jonathan[/td][/tr][tr][td]
5
[/td][td]4 KWIATKOWSKI Michal[/td][/tr][tr][td]
6
[/td][td]5 MOSCON Gianni[/td][/tr][tr][td]
7
[/td][td]6 POELS Wout[/td][/tr][tr][td]
8
[/td][td]7 ROWE Luke[/td][/tr][tr][td]
9
[/td][td]8 THOMAS Geraint[/td][/tr][/table]
Result should be:
[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
D
[/td][td]E
[/td][td]F
[/td][/tr][tr][td]1
[/td][td]Id[/td][td]Firstname[/td][td]Lastname[/td][/tr][tr][td]
2
[/td][td]1
[/td][td]Christopher[/td][td]Froome[/td][/tr][tr][td]
3
[/td][td]2
[/td][td]Egan Arley[/td][td]Bernal[/td][/tr][tr][td]
4
[/td][td]3
[/td][td]Jonathan[/td][td]Castroveijo[/td][/tr][tr][td]
5
[/td][td]4
[/td][td]Michal[/td][td]Kwiatkowski[/td][/tr][tr][td]
6
[/td][td]5
[/td][td]Gianni[/td][td]Moscon[/td][/tr][tr][td]
7
[/td][td]6
[/td][td]Wout[/td][td]Pouls[/td][/tr][tr][td]
8
[/td][td]7
[/td][td]Luke[/td][td]Rowe[/td][/tr][tr][td]
9
[/td][td]8
[/td][td]Geraint[/td][td]Thomas[/td][/tr][/table]
Last edited: