Switching Surname, Initial, Title to other way round

Raving12

New Member
Joined
Sep 11, 2017
Messages
1
Hi there

I have a column where the names are like "Armstrong C M Mrs" and others "Armstrong A P Mr & Mrs". I need to show these names as "Mrs C M Armstrong" and "Mr & Mrs A P Armstrong"

Can anyone help with a formula that can do this? Getting tied up in knots!

Thanks!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I'm making some assumptions here and I'm guessing your data isn't as nice as you're making out but for the specific cases you've given, the following would work:


Book1
AB
1Amstrong A P Mr & MrsMr & Mrs A P Amstrong
2Armstrong C M MrsMrs C M Armstrong
Sheet1
Cell Formulas
RangeFormula
B1=MID($A1,FIND("Mr",$A1),LEN($A1))&" "&MID($A1,FIND(" ",$A1)+1,FIND("Mr",$A1)-FIND(" ",$A1)-1)&LEFT($A1,FIND(" ",$A1)-1)


WBD
 
Upvote 0
Welcome to the MrExcel board!

I'm guessing that you have quite a bit of variety in your data format. For example ..

- Do some people have less or more than 2 initials? (eg Armstrong C Mrs or Armstrong A P B Mr & Mrs)
- Do some people have multi-word last names? (eg van den Berg A B Mr or del Potro J M Mr)
- Are there other titles? (eg Armstrong R B Dr)
- Are there any suffixes? (eg Armstron Jr W K Mr)
- Do some people have one or more of their first names written out in full? (eg Armstrong Carol Megan Miss or Smith Tom T Prof)
- etc

If any of these are possible, please give us a better representative sample data set and the expected results.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top