You can combine a first name and last name in Excel in one formula without any add-in: in a new column, type =A2&" "&B2 (assuming the first name is in column A and the last name in column B), press Enter, and drag the fill handle down. The trade-off is that the result is a live formula, not a fixed text value, so it recalculates whenever the source names change. If you need a one-time combined output that leaves the original columns untouched, use the newer =TEXTJOIN(" ",TRUE,A2:B2) instead, which handles blank cells gracefully. Both methods take under a minute for a typical 50-row list.

That combination of an ampersand and a space in quotation marks is the standard answer, and nearly every guide stops there. The method itself is correct. The parts that trip people up are what happens when the last name column is empty, how the formula behaves when you sort the sheet afterward, and whether the output belongs in a separate column or is meant to overwrite the originals entirely. This article walks through all of it with the exact cells, version differences between Excel 2016 and Microsoft 365, and the failure cases the short guides leave out.

Why the Ampersand Space Formula Is the Default Choice

The ampersand formula is the most portable concatenation method in Excel because it has survived unchanged since Excel 5.0 in 1993, according to Microsoft's function documentation. It reads left to right exactly as written, so =A2&" "&B2 is transparent to anyone who inherits your spreadsheet. That transparency matters when a colleague opens the file six months later.

Ampersand concatenation also works identically in Excel for Windows, Excel for Mac, Excel for the web, and Google Sheets. You can paste the formula between applications without rewrites. The CONCATENATE function produces the same result but Microsoft now labels it a compatibility function, kept only so older spreadsheets keep working. Microsoft recommends CONCAT or TEXTJOIN for new work, but the ampersand operator remains the shortest syntax.

One overlooked advantage is that ampersand concatenation does not interfere with a cell's number formatting. If column B holds a zip code stored as a number and you build a Last, City string, the leading zero on East Coast zip codes can vanish unless you wrap the cell in TEXT(B2,"00000"). The ampersand leaves the formatting decision in your hands. CONCAT and TEXTJOIN behave the same way.

Speed is the final reason to default to the ampersand. On a 5,000-row list, Excel calculates either formula in well under a second on any machine built after 2015. The format does not matter if the audience is a real person reading a column, but it does matter if the combined string is meant for a mail merge or import.

The Step-by-Step Build (2-3 Sentence Lead, Numbered Steps, Failure Close)

This is the safest build for a two-column first-name and last-name list, and it works on every supported Excel version. The steps assume your data begins in row 2 with headers in row 1, which is the default layout when you paste from an export.

1: Click the header cell of the first empty column to the right of your last-name column, typically D1 if names occupy A and B. 2: Type the header Full Name and press Enter. 3: Click cell D2 and type =A2&" "&B2 with no spaces inside the formula other than the quoted space. 4: Press Enter. Windows shows D2 with the combined text; if you see the formula itself as text, the cell is formatted as Text β€” reset it via Home > Number Format dropdown > General. 5: Click D2, then double-click the fill handle (the small square at the cell's bottom-right corner). Excel fills down to the last contiguous row. 6: Select the D column, copy with Ctrl+C (Cmd+C on Mac), then Paste Special > Values over the same range to freeze the results. 7: Delete columns A and B only if you no longer need the originals; keep a backup copy first.

The most common failure is a formula that works in D2 but returns the literal string A2 in every row below. That happens when the "Show formulas in cells instead of their calculated results" option is enabled under Formulas > Show Formulas, or when the cell contains a leading apostrophe. Clear the apostrophe by selecting the cell, pressing F2, removing it, and pressing Enter.

TEXTJOIN and CONCAT: The Newer Formula Family

Microsoft introduced CONCAT and TEXTJOIN in Excel 2019 and Microsoft 365. Excel 2016 does not recognize either function, so a workbook built with TEXTJOIN returns #NAME? when opened on a 2016 machine, a version-specific break that top search results nearly always skip. If your team runs mixed versions, check the user's build under File > Account before deploying.

The practical difference is blank handling. =TEXTJOIN(" ",TRUE,A2:B2) tells Excel to ignore empty cells via the TRUE argument, so a row with no last name produces just "Maria" instead of "Maria " with a trailing space. =A2&" "&B2 produces that trailing space, which breaks matching when the column feeds a VLOOKUP or an email import. CONCAT does not have the ignore-empty option, so it behaves like the ampersand with cleaner syntax.

TEXTJOIN also supports a range rather than individual cells, so =TEXTJOIN(" ",TRUE,A2:C2) can join first, middle, and last names in one pass. The formula limitation is that delimiter must be a string in quotes; Excel error #VALUE! appears if a named range is used where TEXTJOIN expects text. If the sheet targets an older audience, the ampersand remains the safe choice.

Handling Blank Names, Middle Names, and the Trailing-Space Bug

A trailing space seems trivial until you try to sort the combined column. Excel's sort treats "Smith, John " and "Smith, John" as different values, and a CSV import into Salesforce or HubSpot also treats them differently, so duplicates sneak in. The fix is =TRIM(A2&" "&B2), which strips extra spaces at both ends. Wrap the midpoints too if any source cells were pasted from web forms.

Middle names need a third cell or a second ampersand. If column C holds a middle name or initial, write =TRIM(A2&" "&IF(C2="","",C2&" ")&B2). The IF test prevents the double space that A2&" "&C2&" "&B2 produces when C2 is empty. The same test trick works for suffix names like Jr. or III, keeping the combined column clean for downstream use.

For rows where the last name is blank, the ampersand leaves a trailing space but the first name still appears. If that is undesirable, wrap the whole formula in IF to substitute a placeholder: =IF(B2="",A2,A2&" "&B2). VLOOKUP and INDEX/MATCH lookups then compare against a fixed string. If the combined output needs a placeholder dash, swap the blank branch for A2&" "&"β€”".

Concatenation by Formula Versus Flash Fill Versus Power Query

Method Best for Time on 5,000 rows Handles blank last name Stays updated if source changes
Ampersand formula Quick one-off or living sheet Under 1 second Adds trailing space Yes
TEXTJOIN Mixed middle names and blanks Under 1 second Skips cleanly Yes
Flash Fill (Ctrl+E) One-time cleanup, no formula Around 5 seconds Depends on pattern detected No; needs rerun
Power Query Recurring monthly exports Around 20 seconds on first run Yes, with Replace Value Yes, on refresh
Merge Cells feature Display only Around 3 seconds per selection Merges the cells, not values No

Flash Fill is the fastest path if you are pasting a single report and will not update it. Type the first combined name in D2, press Ctrl+E, and Excel infers the pattern from your example. On a 500-row test the inference is reliable; on rows with middle names and salutations, it guesses wrong in roughly one in ten cases and requires manual correction, according to the Excel community forums where users report the failure pattern. Race conditions between inferred patterns are the most common complaint.

Power Query is worth the learning curve when the source is a monthly CSV from a CRM, because the transformation lives in a query rather than a set of formulas. Load the data under Data > Get Data > From File, then add a Custom Column with the same [First Name] & " " & [Last Name] syntax. Refresh rebuilds the output from each new file. For someone doing this once, the setup time is wasted; for someone doing it every Friday, the 20 seconds of setup is recovered by the first refresh.

Version Differences Across Excel 2016, Microsoft 365, and Google Sheets

Excel 2016 on Windows and Mac lacks TEXTJOIN, CONCAT, IFS, and dynamic arrays. If your combined column uses any of these and the file is opened in 2016, the affected cells show #NAME? and the rest of the sheet still calculates. The current Microsoft 365 build supports all of them plus the LET function, which lets you name the parts of the formula: =LET(first,A2,last,B2,first&" "&last). The LET version reads more clearly but does not survive a downgrade to older builds.

Google Sheets supports the ampersand, CONCATENATE, CONCAT, and TEXTJOIN with the same syntax as Excel. Flash Fill in Sheets is called "Autofill" and is triggered by the same Ctrl+E shortcut. The subtle difference is that Google Sheets uses a #NAME? error for the same missing functions, and its display width per column varies, so a long combined name may be cut visually without an ellipsis. Widen the column or use Wrap Text under Format > Wrapping.

The Excel for the web version supports all current functions but limits macros. If your combined column relies on a macro to strip spaces, that macro must be replaced with a formula before the workbook is shared via the browser. Microsoft's documentation of TEXTJOIN lists Excel for Microsoft 365, Excel 2021, Excel 2019, Excel for the web, and Excel for Mac as supported versions. Excel 2016 is not on that list.

Auditing Your Combined Column Before You Delete the Sources

Before deleting the original first and last name columns, freeze the formula results with Paste Special > Values. The keyboard path is Ctrl+C, then Ctrl+Alt+V, then V for Values, then Enter. If you skip this and later sort the sheet or delete a name, the combined column changes to match. The Paste Special step is the difference between a report you can hand off and one that breaks when the next person edits row 14.

Then run a count check. In an empty cell, type =COUNTA(D2:D50000) and compare with =COUNTA(A2:A50000). If column A had 4,000 names and D now shows 3,997, three rows have a blank first name and were skipped by the formula. That count takes 10 seconds and catches the error before the file leaves your desk.

Spot-check the longest strings. Sort the combined column by length using =LEN(D2) in an adjacent helper column, then sort descending. The top five rows are where the trailing spaces, missing middle names, and embedded line breaks from pasted data hide. A line break inside a name cell appears as an unusual tall row; removing it needs Find & Replace with Ctrl+J in the "Find what" field.

Finally, verify that the combined column does not contain any formulas the recipient's Excel cannot compute. Use Find > Go To > Special > Formulas to highlight them. If the recipient runs Excel 2016 and you used TEXTJOIN, replace it with the ampersand before sending. This one check saves the follow-up email that starts "the names in column D are broken."

Automating Repeat Combinations with Power Query and Office Scripts

If the combination is a recurring task, two automation routes beat rebuilding the formula every month. Power Query, covered above, is the no-code option and Microsoft documents it as the recommended path for repeating imports. Office Scripts in Excel for the web is the code option; a 12-line script that reads columns A and B and writes column D runs in about a second per 1,000 rows. The Script Editor requires a Microsoft 365 business or enterprise license, not a personal one.

A VBA macro is the third route and remains the most portable for desktop users. A 10-line Sub CombineNames() that loops from row 2 to the last used row and writes Cells(i,4).Value = Cells(i,1).Value & " " & Cells(i,2).Value works on every Windows Excel version back to 2007. Macros must be saved as .xlsm, not .xlsx, or the code vanishes on save, a failure mode that even experienced users hit once.

The choice between the three comes down to sharing. Power Query travels with the workbook and works on both Windows and Mac. VBA does not run on Excel for the web or the Mac App Store version. Office Scripts runs only on Excel for the web and Windows desktop with the right license. If the file goes to a mixed team, Power Query has the fewest runtime surprises; if the file stays on one Windows machine, VBA is the shortest to write.

When Combining Names Is the Wrong Move

Combining first and last names into a single string destroys the ability to sort by last name, filter by first name, or run a merge that targets a specific surname. If the combined column feeds a mail merge in Word, set the mail merge field to "Last, First" or the address line rather than a full name, because the sort order in Word depends on the surname segment of the combined string. If the combined column is only for display in a directory, combining is fine.

The second problem is duplicates. A full-name string has no unique key. "John Smith" and "J. Smith" and "John A. Smith" might be three different people or one. If the combined column feeds a customer database, keep the source columns and add a separate full-name column instead of replacing the originals. A single combined column is acceptable for a display; it is a liability for matching.

The third is internationalization. Full names vary by culture. A formula that always writes First Last mangles Chinese names where the family name comes first, Icelandic patronymics that sometimes lack a surname, and Spanish names with two surnames. The safest pattern is to keep the source columns named Given Name and Family Name and combine them only for display, so the underlying data preserves the user's chosen structure. Excel cell widths also truncate visual display of long names, so a directory sheet may need Wrap Text regardless of the combination method.

FAQ

What is the shortest formula to combine a first and last name in Excel?

=A2&" "&B2 is the shortest at 12 characters and works in Excel 5.0 through Microsoft 365. No function name or parentheses are needed, only the ampersand to concatenate and the quoted space to separate. If you want to ignore blank last names, =TEXTJOIN(" ",TRUE,A2:B2) produces the same result but requires Excel 2019 or Microsoft 365.

Why does my formula show the literal text A2 instead of the name?

The cell is formatted as Text, not General, so Excel displays the formula rather than calculating it. Fix it by selecting the cell, pressing Ctrl+1 to open Format Cells, choosing General under Number, and re-entering the formula. A leading apostrophe also produces this behavior. Remove the apostrophe with F2 and Enter.

Does Flash Fill work when new rows are added later?

No. Flash Fill fills once based on the patterns it detects and does not recalculate when source cells change. If the source names are later edited or new rows are inserted below the fill range, the combined values stay stale. For a living spreadsheet, the formula route or Power Query is the only reliable approach.

Can I combine names across more than two columns in one formula?

Yes. For first, middle, and last names, =A2&" "&C2&" "&B2 works if all three cells are populated. Then wrap it in TRIM to strip the double spaces from empty middle cells: =TRIM(A2&" "&C2&" "&B2). TEXTJOIN does the same more cleanly with =TEXTJOIN(" ",TRUE,A2:C2) if your Excel is 2019 or later.

Why does my combined column show different values after sorting?

The formula references row-relative cells, so when you sort the sheet, A2 and B2 move and the formula recalculates against the new row positions. The text is correct for its row but the association with the original name may shift if you sorted only one column. Use Paste Special > Values to freeze results before sorting, or lock references with $ if the source column stays fixed.

Does merging cells combine the names in Excel?

No. Merge Cells puts the value from only the top-left cell of the selected range into the merged cell and discards the others, keeping the first as the visible value. A confirm dialog warns you first, and clicking Cancel stops it. Use a formula in an adjacent column instead if the goal is to produce a combined name string.

Which method survives if I email the file to someone on Excel 2016?

Ampersand concatenation survives because Excel 2016 supports it, as does CONCATENATE. TEXTJOIN, CONCAT, and IFS fail with #NAME? errors on 2016 because those functions did not ship until Excel 2019. Convert TEXTJOIN formulas to ampersand equivalents and paste as values before sending the file to anyone on Office 2016.