Press ESC to close

Combine first and last name with a calculated column

I created a SharePoint list for a customer to enter the staff details of a marketing department. The owner of the site wanted to add the first and last name. I thought it would be easy to automatically fill a column with the full name, based at first and last name. This is actually really easy! Just create a new calculated column and use one of the following formulas:

Carlos

 

Carvallo

 

 

=[Column1]&[Column2]

 

 

Combines the two strings (CarlosCarvallo)

 

 

Carlos

 

 

Carvallo

 

 

=[Column1]&” “&[Column2]

 

 

Combines the two strings, separated by a space (Carlos Carvallo)

 

 

Carlos

 

 

Carvallo

 

 

=[Column2]&”, “&[Column1]

 

 

Combines the two strings, separated by a comma and a space (Carvallo, Carlos)

 

 

Carlos

 

 

Carvallo

 

 

=CONCATENATE([Column2], “,”, [Column1])

 

 

Combines the two strings, separated by a comma (Carvallo,Carlos)

 

Source
http://msdn.microsoft.com/en-us/library/bb862071(v=office.14).aspx

Jasper Oosterveld

My name is Jasper Oosterveld. I am a Microsoft MVP, Data Security & Microsoft 365 Consultant based in the Netherlands. I’ve spent the last decade helping organizations tackle complex challenges around Governance, Adoption and Data Security with Microsoft Purview. My mission? To empower companies to protect their data and streamline collaboration in Microsoft 365, all while keeping governance and adoption at the forefront.

Comments (3)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.