Extract First & Last Name + TEXTJOIN in Excel & Google Sheets

Pull first and last names from full name cells using formula positions, and join multiple values cleanly with TEXTJOIN while skipping blanks.

1. Extract First Name Before a Space (LEFT + FIND)

When cell A2 holds a full name like "Saurabh Garg", FIND(" ", A2) - 1 finds the exact number of characters before the space, and LEFT extracts the first name:

=LEFT(A2, FIND(" ", A2) - 1)

2. Extract Last Name After a Space (RIGHT + LEN + FIND)

Subtract the space position from the total length (LEN(A2)) and use RIGHT to return the last name:

=RIGHT(A2, LEN(A2) - FIND(" ", A2))

Worked Example: First & Last Name Extraction

Cell A2 (Full Name) First Name (LEFT + FIND) Last Name (RIGHT + LEN + FIND)
Saurabh Garg Saurabh Garg
Meera Nair Meera Nair

3. Join Values With TEXTJOIN (Skip Empty Cells)

Unlike & or CONCAT, TEXTJOIN lets you specify a delimiter (such as ", ") and pass TRUE as its second argument to skip blank cells automatically:

=TEXTJOIN(", ", TRUE, B2:E2)

Tips & Error Prevention

Editorial & Accuracy Note: Tested across Microsoft Excel and Google Sheets with worked sample inputs and outputs. Part of the Know Unlimited Excel & Google Sheets Hub.