Excel beginner concatenate join text formula

How to Join First and Last Names in Excel?

Join First and Last Name is a Excel function that combines the contents of two cells with a space in between.. Formula Genius generates and validates this formula automatically from a plain-English prompt.

Combining first and last names into a single cell can streamline your data management. Use this formula to achieve that effortlessly.

The Formula

Prompt

"Join first name and last name from two columns into one cell with a space between them"

Excel
=A1 & " " & B1

This formula combines the contents of two cells with a space in between.

Step-by-Step Breakdown

  1. Identify the cell containing the first name (e.g., A1).
  2. Identify the cell containing the last name (e.g., B1).
  3. Use the ampersand (&) to concatenate the first name and last name.
  4. Insert a space between the two names using quotes with a space (" ").

Edge Cases & Warnings

  • One of the name cells is empty, resulting in an extra space.
  • Both name cells are empty, leading to a blank result.
  • Names contain leading or trailing spaces that affect formatting.
  • Names include special characters that may not display correctly.

Examples

Prompt

"John, Doe"

Excel
John Doe
Prompt

"Jane, Smith"

Excel
Jane Smith

Frequently Asked Questions

Can I use this formula with more than two names?

Yes, you can extend the formula by adding more concatenation with additional ampersands.

What if I want a different separator?

You can replace the space in quotes with any character, like a comma or hyphen.

How do I handle empty cells?

The formula will still work, but you may want to use the IF function to manage empty cells better.

Can't find what you need?

Describe any formula in plain English and Formula Genius will generate, explain, and validate it — instantly.