Helen842000
New Member
- Joined
- Mar 28, 2011
- Messages
- 34
Hi all,
I'm looking for some help that would probably save weeks of work for me even if a little progress is made. I have a spreadsheet that is as follows (around 7000 rows) Some demo data below
---A--------- B ----------C
USERID ----Name1 -----Name2
BSMITH----- BOB ------SMITH
AJONES ----JONES ------ANN
AAHMED---- AHMED -----ALI
SJOHNS ----SIMON ----JOHNSTON
JLIAAA -------LI ---------JOHN
As you can see the names are in a mixed up order. Sometimes it's (surname, first name) sometimes it's (first name, surname) This is down to people typing names in the wrong format. I was wondering if I could use their user ID to some how arrange the names in some uniform way. It would be very difficult to do this manually as with some users it's very difficult to discern which is their first name or surname until I look at their User ID (as the example shows in row 3)
The User ID is always 6 characters and follows the format FIRST NAME INITIAL + FIRST 5 CHARS OF SURNAME. If someones surname isn't at least 5 chars long, letter A's are appended to the ID to make up 6 letters (as shown in example 5).
Even any suggestions of what combined functions might bring me a little closer would be really appreciated.
Thank you!
I'm looking for some help that would probably save weeks of work for me even if a little progress is made. I have a spreadsheet that is as follows (around 7000 rows) Some demo data below
---A--------- B ----------C
USERID ----Name1 -----Name2
BSMITH----- BOB ------SMITH
AJONES ----JONES ------ANN
AAHMED---- AHMED -----ALI
SJOHNS ----SIMON ----JOHNSTON
JLIAAA -------LI ---------JOHN
As you can see the names are in a mixed up order. Sometimes it's (surname, first name) sometimes it's (first name, surname) This is down to people typing names in the wrong format. I was wondering if I could use their user ID to some how arrange the names in some uniform way. It would be very difficult to do this manually as with some users it's very difficult to discern which is their first name or surname until I look at their User ID (as the example shows in row 3)
The User ID is always 6 characters and follows the format FIRST NAME INITIAL + FIRST 5 CHARS OF SURNAME. If someones surname isn't at least 5 chars long, letter A's are appended to the ID to make up 6 letters (as shown in example 5).
Even any suggestions of what combined functions might bring me a little closer would be really appreciated.
Thank you!
Last edited: