FormulaCraft

How to combine first and last name into one cell in Excel and Google Sheets

Excel & Google Sheets
=A2 & " " & B2

Verified example

Computed by a real spreadsheet engine on the sample data below.

First NameLast Name
JohnDoe
JaneSmith
EmilyJones

=A2 & " " & B2John Doe

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your first names in column A and last names in column B.
  2. 2Click on the cell where you want the combined name to appear.
  3. 3Type the formula =A2 & " " & B2 in Excel or =A2 & " " & B2 in Google Sheets.
  4. 4Press Enter to see the combined name.
  5. 5Drag the fill handle down to apply the formula to other cells.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What if I want to add a comma between the last name and first name?

Modify the formula to =B2 & ", " & A2.

Can I use CONCATENATE instead of the & operator?

Yes, use =CONCATENATE(A2, " ", B2) for the same result.

How do I handle middle names or initials?

Include the middle name or initial in another column and adjust the formula to include it, e.g., =A2 & " " & C2 & " " & B2.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: