The Name

Name meanings, origins and baby name ideas

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Combine First and Last Name in Sheets: 4 Easy Ways

· 5 min read · Surnames

Combining first and last names in Google Sheets is a common task that turns two separate columns into one full name column. You can do this with a simple formula, the ampersand operator, or a built-in tool, and each method takes under a minute once you know the steps. Below, I'll walk you through four reliable ways to merge names, what you need before starting, and how to fix issues if the result looks wrong.

What You'll Need

  • A Google Sheets spreadsheet with at least two columns: one for first names and one for last names.
  • Basic access to edit the sheet (you don't need special permissions).
  • An empty column where the combined names will appear (or you can overwrite an existing column if you're sure).

Step-by-Step

Here are four methods, from the simplest formula to a no-formula option. Choose the one that fits your comfort level.

  1. Method 1: Use the CONCATENATE function (best for adding extra text)
    1. Click on an empty cell in the row where you want the full name (e.g., C2).
    2. Type =CONCATENATE(A2, " ", B2) and press Enter. Replace A2 and B2 with the actual cells containing the first and last name.
    3. The full name appears. Drag the fill handle (the small blue square at the bottom-right of the cell) down to apply the formula to all rows.
  2. Method 2: Use the ampersand (&) operator (shortest formula)
    1. Click on an empty cell, e.g., C2.
    2. Type =A2 & " " & B2 and press Enter. The quotes contain a space, so your names won't be squished together.
    3. Drag the fill handle down to copy the formula to other rows.
  3. Method 3: Use the TEXTJOIN function (handles empty cells gracefully)
    1. Click on an empty cell.
    2. Type =TEXTJOIN(" ", TRUE, A2, B2) and press Enter. The TRUE tells Sheets to ignore empty cells, so you won't get extra spaces.
    3. Drag down to apply to all rows.
  4. Method 4: Use the Join tool in the menu (no formula needed)
    1. Select the columns with first and last names (e.g., columns A and B).
    2. Go to Extensions > Power Tools (if installed) or use the built-in Data > Split text to columns – but note that for joining, you'll need an add-on like Power Tools or the CONCATENATE formula. If you don't have an add-on, stick with formulas.
    3. If you have Power Tools, open it and choose Text > Join, select a separator (space), and choose where to place the result.

After using any method, double-check a few rows to ensure the names are in the correct order and separated by a space.

Common Mistakes

  • Forgetting the space: Writing =A2&B2 produces “JohnDoe” instead of “John Doe”. Always include " " between the cell references.
  • Dragging the fill handle over blank rows: If you drag beyond your data, you'll get “0” or empty results. Only drag down to the last row with names.
  • Overwriting original data: If you paste the formula over the first name column, you'll lose the original data. Always use a new column or copy the original elsewhere.
  • Using the wrong cell references: If your data starts in row 1 but you have a header, make sure your formula references the first data row (e.g., A2, not A1).

Tips

  • Use absolute references if you want to keep a fixed cell: For example, =A2 & " " & $B$1 would always add the same last name from B1, but that's rarely needed for merging columns.
  • Combine more than two columns: You can extend the formula to include middle names: =A2 & " " & B2 & " " & C2.
  • Trim extra spaces: If your source data has trailing spaces, wrap each cell with TRIM(): =TRIM(A2) & " " & TRIM(B2).
  • Convert formulas to values: If you want to remove the formulas and keep only the text, copy the column with results, then right-click and choose Paste special > Paste values only.

Troubleshooting

If your combined names don't look right, here's what to check:

  • Names appear as “0” or “FALSE”: This usually means the cell references are wrong or the cells contain numbers. Check that A2 and B2 actually contain text.
  • Extra spaces between names: This happens when the original cells have trailing spaces. Use =TRIM(A2) & " " & TRIM(B2) to clean them.
  • Formula shows as text (e.g., “=A2&B2”): This means the cell is formatted as text. Change the cell format to “Automatic” or “Number” and re-enter the formula.
  • Names are in the wrong order: Swap the cell references in your formula. If you want “Last, First”, use =B2 & ", " & A2.
  • Drag fill handle doesn't work: Make sure you're dragging the small square, not the cell border. If it still fails, double-click the fill handle to auto-fill down the column.

Frequently Asked Questions

Can I combine first and last name without a formula?

Yes, you can use an add-on like Power Tools, but the built-in menu doesn't have a direct “join” feature. The simplest no-formula approach is to copy both columns into a text editor, add a space, and paste back – but that's more work than using a formula.

How do I combine names with a comma and space (e.g., “Doe, John”)?

Use =B2 & ", " & A2 where B2 is the last name and A2 is the first name. The comma and space go inside the quotes.

What if some cells are empty?

Use =TEXTJOIN(" ", TRUE, A2, B2) – the TRUE ignores empty cells, so you won't get leading or double spaces. Alternatively, use an IF formula: =IF(A2="", B2, IF(B2="", A2, A2 & " " & B2)).

Can I combine names from different sheets?

Yes, reference the sheet name: =Sheet1!A2 & " " & Sheet2!B2. Make sure the sheet names are spelled correctly and the cells exist.

How do I apply the formula to hundreds of rows quickly?

Type the formula in the first cell, then double-click the fill handle (the small square) instead of dragging. Sheets will auto-fill down as long as there's data in adjacent columns.

Will the formula update if I change the first or last name later?

Yes, formulas recalculate automatically. If you change a first name, the combined name updates instantly. If you want to freeze the result, copy and paste values only.