To combine first and last names in Excel, use the ampersand (&) operator with a space delimiter, such as =A2&" "&B2. You can also use CONCAT, TEXTJOIN, or CONCATENATE to join name fields. Flash Fill provides a non-formula option for one-time name formatting.
If you have first names and last names stored in separate Excel cells, creating a single full name field can be confusing when you need the correct spacing, commas, or handling of blank values. This guide shows how to combine separate name columns in Excel using formulas and built-in tools so you can create correctly formatted full names and keep the process efficient.
To combine first and last names in Excel, enter a formula such as =A2&" "&B2 if the first name is in cell A2 and the last name is in cell B2. The ampersand (&) joins the two cells and inserts a space between them, producing a result such as Anna Smith. Other options include CONCAT, TEXTJOIN, CONCATENATE, and non-formula tools such as Flash Fill.
How to combine first and last names in Excel
Combining separate name cells means creating a new full name field while keeping the original First Name column and Last Name column unchanged. This approach is useful for contact lists, reports, exports, and spreadsheet data cleaning because the source fields remain available if names need to be edited later.

For a basic worksheet, assume column A contains first names and column B contains last names. The output can be placed in column C as a Full Name column.
Table Title
| First Name column | Last Name column | Full Name column |
|---|---|---|
| Anna | Smith | Anna Smith |
| David | Lee | David Lee |
Use this formula in the first output row:
=A2&" "&B2
The formula uses three parts:
A2references the first name cell." "adds a space delimiter between names.B2references the last name cell.
After entering the formula in the formula bar, copy it down the Full Name column to apply the same pattern to additional rows. The result updates automatically whenever the original name cells change.
Choose the right Excel method for combining names
Different Excel name combination methods solve different problems. A simple formula is usually enough for two fixed fields, while functions designed for multiple text values are better when names contain optional parts such as middle names or suffixes.
The right choice depends on whether the result needs to update automatically, how many name fields must be combined, and whether the task is a one-time formatting job or part of a reusable spreadsheet workflow.
Table Title
| Method | Best use case | Updates automatically | Main limitation |
|---|---|---|---|
| Ampersand (&) | Joining a fixed first name and last name pair with a simple delimiter | Yes, while the formula remains in the output cell | Becomes harder to manage when many optional fields are involved |
| CONCAT | Basic text joining in newer Excel versions with multiple text references | Yes, because it is formula-based | Does not provide built-in empty-cell delimiter handling |
| TEXTJOIN | Combining several name parts where some cells may be blank | Yes, because it recalculates from source cells | Requires newer Excel versions and correct delimiter settings |
| Flash Fill | One-time pattern-based name formatting without formulas | No, the filled results are static after creation | Does not automatically update when source names change |

Comparing ampersand, CONCAT, and TEXTJOIN
The ampersand operator is the simplest option when the structure is predictable. For example, =A2&" "&B2 is easy to read because each cell reference and separator is visible. It works well for a standard First Name + Last Name combination.
The Excel CONCAT function is another formula-based option for joining text values. A formula such as =CONCAT(A2," ",B2) combines the values from A2 and B2 with a space between them.
The CONCATENATE function uses a similar approach: =CONCATENATE(A2," ",B2). In Excel 2016, Excel Mobile, and Excel for the web, CONCATENATE has been replaced by CONCAT for newer workflows. Existing spreadsheets may still contain CONCATENATE formulas, so understanding both functions can help when maintaining older files.
TEXTJOIN is designed for situations where multiple name cells may contain optional information. For example, =TEXTJOIN(" ",1,B5:D5) combines first, middle, and last name fields while ignoring empty cells. The first argument sets the delimiter, and the 1 tells Excel to skip blank cells.
In practical spreadsheet work, the easy-to-miss step is choosing the function based on the data pattern rather than simply choosing the shortest formula. A two-column list usually needs ampersand or CONCAT, while a name structure with optional fields benefits from TEXTJOIN.
Using Flash Fill and manual merge options
Flash Fill can combine names without creating a formula. It detects a pattern from an example you type and fills the remaining cells with matching text values.
To use Flash Fill:
- Type the first combined name manually in the Full Name column, such as
Anna Smith. - Start entering the next row and allow Excel to recognize the pattern.
- Confirm the suggested results and apply Flash Fill.

This method is useful for a one-time transformation where the final names do not need to change when the source columns are edited.
The Merge Cells tool is different from combining text. Merging cells changes the layout of worksheet cells rather than joining name values into a usable full name field. For name data, merging cells can hide information or remove separate fields, so it is usually not the correct solution.
Create full names with formulas in Excel
Formula-based methods are the most flexible choice when the Full Name column needs to stay connected to the original name fields. The formula remains in the worksheet, and Excel recalculates the output whenever referenced cells are updated.
To create full names from separate Excel columns, choose a destination column, enter the formula, check the output format, and fill the formula down. Keeping the original First Name and Last Name columns separate also makes later sorting and editing easier.
Combine names with spaces and commas
The most common format is First Name followed by Last Name with a space:
=A2&" "&B2
Example:
- A2 contains
Anna - B2 contains
Smith - Output:
Anna Smith
For a Last Name, First Name format, change the order and add the comma directly inside the formula:
=B2&", "&A2
Example:
- A2 contains
Anna - B2 contains
Smith - Output:
Smith, Anna
The delimiter is controlled by the text placed between the cell references. A space uses " ", while a comma followed by a space uses ", ".
Combine multiple name parts automatically
Names often include more than two fields. A middle name, suffix, or preferred name field may be present in some rows but empty in others.
For example, a worksheet may contain:
- B5: First Name
- C5: Middle Name
- D5: Last Name
A TEXTJOIN formula can combine all three fields:
=TEXTJOIN(" ",1,B5:D5)
This formula skips empty cells, so a missing middle name does not create an unwanted double space.
For suffixes such as Jr. or Sr., include the suffix cell in the range when it should appear after the last name. For example, if E5 contains the suffix, use:
=TEXTJOIN(" ",1,B5:E5)
The output changes depending on which cells contain values:
- First, middle, last, suffix available:
Anna Marie Smith Jr. - Middle name missing:
Anna Smith Jr. - Suffix missing:
Anna Marie Smith
A flexible formula should match the way the source data is stored. If a field is optional, use a method that can skip empty cells instead of manually inserting spaces between every reference.
- Use TEXTJOIN when combining first name, middle name, last name, and suffix fields that may not all contain values.
- Set TEXTJOIN to ignore empty cells so missing name parts do not create extra spaces in the final output.
- Place the required delimiter, such as a single space, inside the TEXTJOIN formula instead of adding spaces manually between every cell reference.
- Review the source cells for missing or inconsistent name parts before filling the formula down a large dataset.
Fix common Excel name combination formula errors
Most name-combination problems come from incorrect formulas, unsupported functions, or inconsistent source data. Checking the formula itself and the referenced cells usually reveals the cause quickly.
From an editorial review of spreadsheet workflows, the recurring failure mode is not the joining function itself but mismatched assumptions about the data. A formula that works for a clean two-column list may create formatting issues when blank cells or older Excel versions are involved.
Resolve problems with blank name cells
Blank cells can create unexpected spaces or incomplete names. For example, =A2&" "&B2 produces a trailing space if B2 is empty because the formula still inserts the delimiter.
Use a decision rule based on the data structure:
Table Title
| Situation | Better approach |
|---|---|
| Every row has first and last name values | Use ampersand or CONCAT with a space delimiter |
| Middle names or suffixes are optional | Use TEXTJOIN with ignore_empty enabled |
| Source cells contain accidental spaces | Clean the source values before combining names |

Common signs of inconsistent source data include names appearing with uneven spacing or output values that look correct but fail when sorted or searched. Cleaning extra spaces before combining fields can prevent duplicate-looking records.
- Check source cells for leading or trailing spaces before filling formulas down a large list.
- Replace manual spacing between empty fields with TEXTJOIN when optional name parts exist.
- Review rows with missing first or last names separately because the final output may not represent a complete name.
Check formulas across Excel versions
Function availability can affect which formula works. CONCATENATE formulas may appear in older files, while newer Excel versions commonly use CONCAT for similar text joining tasks.
A #NAME? error usually means Excel does not recognize part of the formula. Common causes include:
- A function name is misspelled.
- A function is unavailable in that Excel version.
- Quotation marks around a delimiter are missing.
A #VALUE! error usually points to a problem with the formula inputs or arguments. Check whether the referenced cells contain unexpected values or whether the formula punctuation is correct.
- Check for a misspelled or unsupported function name when Excel returns #NAME? during a name combination formula.
- Review referenced cells and formula arguments when Excel returns #VALUE! because an input is causing an invalid calculation.
- Verify quotation marks and delimiters in the formula when spaces or commas appear incorrectly in the final name.
- Remove unwanted extra spaces by correcting the delimiter or cleaning inconsistent source name values.
Combine names across worksheets and large datasets
Name fields are not always stored in the same worksheet. When first names and last names are separated across sheets, the same joining principles apply, but the cell references must include worksheet names.
For example, if First Name is stored on a sheet named Names and Last Name is stored on a sheet named Contacts, a formula can reference cells from both locations:
=Names!A2&" "&Contacts!B2
The exact worksheet names and cell references depend on the workbook structure. The important step is confirming that each reference points to the correct source column before copying the formula down.
For repeated imports or regularly updated datasets, a simple formula may become harder to maintain. Power Query can help create repeatable data transformation steps, while VBA can automate custom workflows when formulas are not enough.
A practical decision rule:
- Use a formula when the worksheet changes regularly and the Full Name field should update automatically.
- Use Flash Fill when the transformation is a one-time formatting task and static results are acceptable.
- Consider Power Query or VBA when the same name-combining process must be repeated across many files or data sources.
Before scaling a workflow, verify the source structure first. A process that depends on consistent First Name, Middle Name, Last Name, and suffix columns will be easier to maintain than one that relies on manually corrected text.
Start today by adding a Full Name column beside your existing name fields and enter =A2&" "&B2 in the first data row, because this immediately creates a reusable full-name result while keeping your original columns available for future edits.
FAQ
Can I combine names in Excel without using a formula?
Yes. You can use Flash Fill to combine names without creating a formula. Type the first combined name manually in the Full Name column, allow Excel to detect the pattern, and apply the suggested results. This creates static values that will not automatically update if the original name columns change.
What is the fastest way to join two name columns in Excel?
The fastest method for a simple two-column name list is usually the ampersand formula =A2&" "&B2. It joins the First Name and Last Name cells with a space delimiter and can be copied down the Full Name column to apply the same pattern to other rows.
Can Excel combine names from separate worksheets?
Yes. Excel can combine names from separate worksheets by including worksheet names in the cell references. For example, a formula can join a first name from one sheet and a last name from another, as long as each reference points to the correct source column.
Does CONCAT replace CONCATENATE in newer Excel versions?
Yes. CONCAT is used in newer Excel workflows in place of CONCATENATE, although existing spreadsheets may still contain CONCATENATE formulas. Understanding both functions helps when creating new formulas or maintaining older Excel files.

