stefanaalten
Board Regular
- Joined
- Feb 1, 2011
- Messages
- 71
- Office Version
- 365
- Platform
- Windows
This is doing my head in! I would appreciate some help from anyone feeling clever!
Source cell may have name(s) in one of the following formats and needs to be rearranged as shown.
Case 1: Surname, Forename
e.g. "Lang, Fritz" -> "Fritz Lang"
Case 2: Surname (no forename)
e.g. "McG" -> "McG"
Case 3: Surname, Forename1 & Forename2
e.g. "Coen, Joel & Ethan" -> "Joel & Ethan Coen"
Case 4: Surname1, Forename1 & Surname2, Forename2
e.g. "Powell, Michael & Pressburger, Emeric" -> "Michael Powell & Emeric Pressburger"
Case 5: Surname1, Forename1 et al.
e.g. "Miller, George et al." -> "George Miller et al."
(there are no other cases in my source data)
I managed to solve it for some of the cases with complex nested formulae but am getting myself completely tangled up.
Many thanks in advance for any help!
Source cell may have name(s) in one of the following formats and needs to be rearranged as shown.
Case 1: Surname, Forename
e.g. "Lang, Fritz" -> "Fritz Lang"
Case 2: Surname (no forename)
e.g. "McG" -> "McG"
Case 3: Surname, Forename1 & Forename2
e.g. "Coen, Joel & Ethan" -> "Joel & Ethan Coen"
Case 4: Surname1, Forename1 & Surname2, Forename2
e.g. "Powell, Michael & Pressburger, Emeric" -> "Michael Powell & Emeric Pressburger"
Case 5: Surname1, Forename1 et al.
e.g. "Miller, George et al." -> "George Miller et al."
(there are no other cases in my source data)
I managed to solve it for some of the cases with complex nested formulae but am getting myself completely tangled up.
Many thanks in advance for any help!