Google Sheets

chaboyski

Board Regular
Joined
Aug 18, 2020
Messages
59
Office Version
  1. 2016
Platform
  1. Windows
Hi!,

just wanted to ask, how can i split the full name if the full name includes multiple names and with suffix in google sheets?

example:

Full NameFirst NameLast NameSuffix
Vincent ChavezVincentChavez
Vincent Adrian Lantin JrVincent AdrianLantinJr
Andrea Mae Joy RualloAndrea Mae JoyRuallo
Adrian Martin Nunez Sr.Adrian MartinNunezSr.

Thank you in advance!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You can't. Not very well.

Suffixes will be a problem.
The only reason you've put Jr and Sr in that last column is you know it's not a name.
So you'd have to have a list of all the suffixes in the spreadsheet somewhere so you can identify if a name contains a suffix.
Suffixes could be anything... Jr, Sr, OBE, MBE, CBE, plus others I can't even think of)

This gets you close

With First Name in A1
in B1
=REPT(" ",8-(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))))&A1
(Padding out the name with extra spaces so below the 8th space indicates where the surname begins - this assumes noones is going to have 8 parts to their name - I set it to 4 originally but thought that might be a bit limiting)

in C1
=FIND(CHAR(1),SUBSTITUTE(E1," ",CHAR(1),8))

First Name (D1)
=TRIM(LEFT(B1,C1))

Last Name (E1)
=TRIM(SUBSTITUTE(B1,D1,""))
 
Last edited:
Upvote 1
Solution

Forum statistics

Threads
1,224,830
Messages
6,181,227
Members
453,025
Latest member
Hannah_Pham93

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