How to merge name cells in excel
Tutor 5 (73 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To merge name cells in Excel, you can combine first and last names from separate cells into a single cell. There are multiple methods to achieve this, depending on whether you want to keep the original cells intact or not.
Method 1: Using the CONCATENATE Function
-
Select the cell where you want the full name to appear.
-
Enter the formula:
=CONCATENATE(A1, " ", B1)
-
A1contains the first name. -
B1contains the last name. -
" "adds a space between the first and last names.
-
Press Enter. The full name will appear in the selected cell.
Example:
-
A1 = John -
B1 = Doe -
Result:
John Doe
Method 2: Using the Ampersand (&) Operator
-
Select the destination cell.
-
Type the formula:
=A1 & " " & B1
-
Works similarly to CONCATENATE.
-
Often preferred for its simplicity and readability.
-
Press Enter.
Example:
-
A1 = Mary -
B1 = Smith -
Result:
Mary Smith
Method 3: Using the TEXTJOIN Function (Excel 2016 and later)
-
Select the destination cell.
-
Enter the formula:
=TEXTJOIN(" ", TRUE, A1, B1)
-
" "specifies the delimiter between names. -
TRUEignores any blank cells. -
Useful when merging multiple cells at once.
Example:
-
A1 = Anna -
B1 = Lee -
C1 = Jr. -
Formula:
=TEXTJOIN(" ", TRUE, A1, B1, C1) -
Result:
Anna Lee Jr.
Method 4: Using the Merge & Center Tool (Not Recommended for Text Combining)
-
Select the cells you want to merge.
-
Go to Home → Merge & Center.
-
Click Merge Cells.
Important:
-
This only merges the cells visually.
-
Only the value in the upper-left cell remains.
-
Data in other cells will be lost.
-
Recommended only for formatting, not for combining first and last names.
Tips for Merging Names in Excel
-
Use formulas (CONCATENATE,
&, TEXTJOIN) when you want to retain original data. -
Apply TRIM() to remove extra spaces:
=TRIM(A1 & " " & B1)
-
Copy the resulting column and Paste as Values to replace formulas with text.
-
Ensure consistent formatting to avoid errors when exporting or sorting names.
You can provide the first and last names in multiple columns, and all methods above will merge them accurately.
. Was this Helpful?Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to show duplicates in red
Answers · 1
How to apply duplicate conditional formatting rule
Answers · 1
How to duplicate conditional formatting excel
Answers · 1
What is excel conditional formatting duplicates
Answers · 1