Hi list,
I have a column containing full names (Firstname LASTNAME) and I want to split this information into two adjacent columns, first one containing only LASTNAME and other one containing LASTNAME Firstname (swapped), using only XL macros (no VBA).
I could of course isolate Firstname from LASTNAME by looking for the space character, but sometimes full names are composed of multiple firstnames and/or lastnames, like in the following example:
Column A
Rich ABBOT
Victor James DELA CRUZ
Fred DRUM GERA
Jo Wilfried ROBERTS
So in column B, I should only have:
ABBOT
DELA CRUZ
DRUM GERA
ROBERTS
And in column C:
ABBOT Rich
DELA CRUZ Victor James
DRUM GERA Fred
ROBERTS Jo Wilfried
I am thinking about checking the first occurrence of two capital letters in a string to detect the beginning of lastname, but I am not such a specialist in Excel macros to know how to do it.
Thanks a lot for your help!
Fred
I have a column containing full names (Firstname LASTNAME) and I want to split this information into two adjacent columns, first one containing only LASTNAME and other one containing LASTNAME Firstname (swapped), using only XL macros (no VBA).
I could of course isolate Firstname from LASTNAME by looking for the space character, but sometimes full names are composed of multiple firstnames and/or lastnames, like in the following example:
Column A
Rich ABBOT
Victor James DELA CRUZ
Fred DRUM GERA
Jo Wilfried ROBERTS
So in column B, I should only have:
ABBOT
DELA CRUZ
DRUM GERA
ROBERTS
And in column C:
ABBOT Rich
DELA CRUZ Victor James
DRUM GERA Fred
ROBERTS Jo Wilfried
I am thinking about checking the first occurrence of two capital letters in a string to detect the beginning of lastname, but I am not such a specialist in Excel macros to know how to do it.
Thanks a lot for your help!
Fred