Extract Surname From Name Field ?

moonbase

New Member
Joined
Nov 6, 2008
Messages
31
Hi,

Would anyone please be able to help me to extract surnames from a name field where the values are in the format of initials for fornames followed by the surname?

For example, column A in my spreadshet has values as below:

C Black
C R Dobbins
J Hartley
K Jones
K M Wilkins
N Armstrong

The surname extraction should look like:

Black
Dobbins
Hartley
Jones
Wilkins
Armstrong

I have been trying to get a formula to work that measures the field length then looks for the 1st space from the right in the field then uses the RIGHT function to get the surname but just cannot get it to work.

Any advice most appreciated

Thx
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
How about text to columns and just delete the first initial or name...same with middle initial.

Good luck,

AC
 
Upvote 0
Hello.

Try this:
Excel Workbook
AB
1C BlackBlack
2C R DobbinsDobbins
3J HartleyHartley
4K JonesJones
5K M WilkinsWilkins
6N ArmstrongArmstrong
Sheet
 
Upvote 0
found this using google, so i take no credit

=RIGHT(A1,LEN(A1)-FIND("*",SUBSTITUTE(A1," ","*",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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