neileg
AWF VIP
- Local time
- Today, 11:42
- Joined
- Dec 4, 2002
- Messages
- 5,970
I have a data set with a name field that contains names and initials. These are in the form:
A B Smith
C Jones
David Brown
I want to be able to extract just the last name, ie Smith, Jones, Brown
I don't mind doing this in Access or Excel. It is part of a one off data cleanse.
This is easy if the surname and intiitals were reversed using InStr or Find to identify the first space and then Left. I can't figure out how to do it with the names and intitials the way they are.
Any bright ideas?
A B Smith
C Jones
David Brown
I want to be able to extract just the last name, ie Smith, Jones, Brown
I don't mind doing this in Access or Excel. It is part of a one off data cleanse.
This is easy if the surname and intiitals were reversed using InStr or Find to identify the first space and then Left. I can't figure out how to do it with the names and intitials the way they are.
Any bright ideas?