Forum Discussion
Separate first and last name from a field.
- Jun 28, 2022
Hello @RobElliot ,
I am sorry to contradict you, but it is possible.
Here are the formulas for those who need them.
First Name
LEFT(FullName,FIND(" ",FullName)-1)
Last Name
RIGHT(FullName,LEN(FullName)-FIND(" ",FullName))
I hope it is helpful.
Have a good one,
ADumith you won't be able to do this just in SharePoint, you'll need to use a flow in Power Automate to do this with a couple of split expressions.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
- ADumithJun 28, 2022Iron Contributor
Hello @RobElliot ,
I am sorry to contradict you, but it is possible.
Here are the formulas for those who need them.
First Name
LEFT(FullName,FIND(" ",FullName)-1)
Last Name
RIGHT(FullName,LEN(FullName)-FIND(" ",FullName))
I hope it is helpful.
Have a good one,- JenGleasonOct 03, 2024Copper ContributorI had to adjust slightly for sharepoint online but this worked:
First Name (=LEFT([Full Name], FIND(" ", [Full Name]) - 1)
Last Name (=RIGHT([Full Name], LEN([Full Name]) - FIND(" ", [Full Name])) - RobElliottJun 28, 2022Silver Contributor
ADumith yes you're quite right, my mistake.
Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)