Thank you, that is much clearer. For example, this sample also has a double surname which we hadn't seen before.Here is an example
Excel Workbook | ||||
---|---|---|---|---|
A | B | |||
1 | CITIZEN HAWKINS, ELIANE MRS | MRS ELIANE CITIZEN HAWKINS | ||
2 | CITIZEN, SUSAN MRS | MRS SUSAN CITIZEN | ||
3 | JOHNSON, CLINTON MR (CODE RED) | MR CLINTON JOHNSON (CODE RED) | ||
4 | DEAKIN, RICHARD MR | MR RICHARD DEAKIN | ||
5 | WANDAH, PETRI-SEBASTIAN MR | MR PETRI-SEBASTIAN WANDAH | ||
6 | PETERS-JONES, SUZANNE MS | MS SUZANNE PETERS-JONES | ||
7 | JIMBO, PER MR (YELLOW) | MR PER JIMBO (YELLOW) | ||
8 | LYNCH-WATKINSON, KATIER MS | MS KATIER LYNCH-WATKINSON | ||
9 | LIMBO, LI MEI MRS (CODE WHITE-ORANGE) | MRS LI MEI LIMBO (CODE WHITE-ORANGE) | ||
Rearrange Names |
That will fail or produce erroneous results for names likeAnother option :
=LOOKUP(2,1/FIND({"MR","MRS","MS"},A1),{"MR","MRS","MS"})&MID(A1,FIND(",",A1)+1,MIN(FIND({"MR","MRS","MS"},A1&"MRMRSMS")-FIND(",",A1)-1))&LEFT(A1,FIND(",",A1)-1)&MID(A1,FIND(" (",A1&" ("),99)
Regards
That will fail or produce erroneous results for names like
THOMSON, ELIANE MRS
CITIZEN, KAMRAN MR
That's interesting. I don't know where your list relates to but Miss would be a very common title here in Australia... much less MISS ..