Split First and Last Name in Excel — With Examples (TEXTSPLIT, LEFT, FIND)
Learn how to split first and last name in Excel: TEXTSPLIT, LEFT and FIND formulas, middle names, Flash Fill and Text to...
Read Guide →You have text split across columns — first names in one, last names in another — and you need it together in one cell. The ampersand does it: =A2&” “&B2 takes “Maria” and “Garcia” and gives “Maria Garcia”, and it updates whenever either cell changes. The one rule that catches everyone is the space: the ampersand joins exactly what it finds, so without ” ” in quotes you get “MariaGarcia”. For more cells, CONCAT and TEXTJOIN take over — CONCAT joins a range in one go, and TEXTJOIN defines the separator once and skips the blanks. This guide gives you the ampersand first, works all three methods through on one table, and covers the date trap, numbers, and Flash Fill.
Quick takeaway: the ampersand is the go-to for two cells.
=A2&" "&B2 — two cells, with a space: Maria Garcia.=CONCAT(A2:C2) — a range in one go (Excel 2019+).=TEXTJOIN(", ", TRUE, A2:A5) — a list with one separator, blanks skipped.
| What you want | Use | Example |
|---|---|---|
| Two cells, with a space | Ampersand & | =A2&" "&B2 |
| A range of cells | CONCAT | =CONCAT(A2:C2) |
| A list with one separator, blanks skipped | TEXTJOIN | =TEXTJOIN(", ", TRUE, A2:A5) |
| No formula at all | Flash Fill | Type the first result, press Ctrl+E |
First names in A2:A5, last names in B2:B5:
| A: First name | B: Last name | =A2&" "&B2 | =CONCAT(A2," ",B2) | =TEXTJOIN(" ", TRUE, A2:B2) |
|---|---|---|---|---|
| Maria | Garcia | Maria Garcia | Maria Garcia | Maria Garcia |
| John | Smith | John Smith | John Smith | John Smith |
| Jane | Doe | Jane Doe | Jane Doe | Jane Doe |
| Ali | Khan | Ali Khan | Ali Khan | Ali Khan |
All three give the same answer on two cells. The difference is what happens when the job grows: the ampersand needs one & per join, CONCAT takes a range, and TEXTJOIN takes a range plus one separator.
=A2&" "&B2
The ampersand (&) is Excel’s concatenation operator — the plus sign for text. Three rules:
" ".A2, not "A2".="A"&100 gives “A100”, and =100&200 gives “100200”.The missing-space trap: =A2&B2 gives “MariaGarcia”. The ampersand joins exactly what it finds — it does not add a space for you. Put the space in yourself, in quotes, between two ampersands.
=CONCAT(A2:C2)
CONCAT is the modern function for joining text, introduced in Excel 2019 to replace CONCATENATE. Its one big advantage over CONCATENATE is that it can handle ranges: =CONCAT(A2:C2) joins three cells in one go, where CONCATENATE would need each one listed separately. CONCAT does NOT add separators automatically — if you need a space or a dash, add it yourself: =CONCAT(A2, "-", B2). For a first name, middle name and last name in A2:C2 — John, (blank), Smith — CONCAT gives “JohnSmith” with no separator and no blank to skip. That is TEXTJOIN’s job.
=TEXTJOIN(", ", TRUE, A2:A5)
TEXTJOIN is the most powerful of the three. You define the delimiter once — “, ” — and it puts it between every value. The second argument, ignore_empty, is the reason to use it: TRUE skips blank cells, so no double separators appear. For an address in A2:A5 — Lahore, Punjab, (blank), 54000 — TEXTJOIN with “, ” and TRUE gives “Lahore, Punjab, 54000”, with no empty gap where the blank cell was. With FALSE, the blank leaves a double separator: “Lahore, Punjab, , 54000”. TEXTJOIN is available in Excel 2019 and later.
Type the first combined result yourself — “Maria Garcia” in C2 — then press Ctrl+E. Flash Fill detects the pattern and fills the rest of the column. It is the fastest way when the result does not need to update: the values are static text, not formulas, so changing A2 or B2 later will not change C2. For a list that updates, use a formula instead.
A date is a number in Excel — 24 November 2026 is serial number 46,350. Join it directly and the number appears:
=A2&B2
If A2 is “Order” and B2 is 24 November 2026, the result is “Order46350”. Fix it with TEXT, which formats the date before joining:
=A2&" — "&TEXT(B2, "dd mmm yyyy")
Result: “Order — 24 Nov 2026”. The same rule applies to numbers: ="Total: "&750 gives “Total: 750”, but ="Total: "&TEXT(750, "$#,##0") gives “Total: $750”. The full guide to dates as numbers is the excel date formula topic page.
| Mistake | What happens | Fix |
|---|---|---|
| You forgot the space | “MariaGarcia” | Add " " between the cells: =A2&" "&B2 |
| You joined a date directly | The serial number appears: “Order46350” | Format it first: =A2&" — "&TEXT(B2, "dd mmm yyyy") |
| You used CONCATENATE for a range | It fails — CONCATENATE cannot take a range | Use CONCAT: =CONCAT(A2:C2) |
| You used CONCAT for a list with separators | No separators appear — CONCAT adds none | Use TEXTJOIN with the delimiter once |
| You left ignore_empty as FALSE | Blank cells leave double separators | Use TRUE: =TEXTJOIN(", ", TRUE, range) |
| You used Flash Fill for a live list | The values do not update when the source changes | Use a formula instead |
| You expected the result to be a number | Concatenation always returns text | That is by design — wrap it in VALUE if you must calculate with it |
How do I combine text from two cells in Excel? =A2&" "&B2. For example, “Maria” in A2 and “Garcia” in B2 give “Maria Garcia”. The space goes in double quotes between two ampersands.
How do I join two columns into one in Excel? Use the ampersand in a helper column: =A2&" "&B2, then fill it down. Or use TEXTJOIN for a separator and blank-skipping: =TEXTJOIN(" ", TRUE, A2:B2).
What is the difference between CONCAT and CONCATENATE? CONCAT is the modern replacement, introduced in Excel 2019. It works almost identically, but it can handle ranges — =CONCAT(A2:C2) — where CONCATENATE needs each cell listed separately. CONCATENATE is still available for compatibility.
How do I combine text and skip blank cells? =TEXTJOIN(", ", TRUE, range). The TRUE tells TEXTJOIN to ignore empty cells, so no double separators appear.
Why does my date show as a number when I combine it? Because a date is a number in Excel — 24 November 2026 is 46,350. Format it first with TEXT: =A2&" — "&TEXT(B2, "dd mmm yyyy").
Can I combine text without a formula? Yes — Flash Fill. Type the first combined result, press Ctrl+E, and Excel fills the rest. The results are static text, so they will not update when the source cells change.
Can I add text and a formula result in the same cell? Yes: ="Cell B5 contains "&B5 gives “Cell B5 contains 10”. Hardcoded text goes in quotes, the cell reference does not.
That is how to combine text in Excel: the ampersand for two cells, CONCAT for a range, TEXTJOIN for a list, and Flash Fill when no formula is needed. The ampersand is the go-to for the simple job — two cells and a space in quotes — and the functions take over when the job grows: CONCAT when the cells are a range, TEXTJOIN when the separator should be defined once and the blanks skipped. Remember the two things that matter: the space is text, so put it in quotes, and a date joined directly shows as its serial number, so format it with TEXT first. From here, the next text jobs to learn are the ones this page points to — the excel date formula topic page, which explains why a date is a number, and the day of week formula guide — and the full learning order for the whole site is on the Excel Formulas hub.
Learn how to split first and last name in Excel: TEXTSPLIT, LEFT and FIND formulas, middle names, Flash Fill and Text to...
Read Guide →Learn how to get the month and year from a date in Excel: month name, month number, quarter, first and last day...
Read Guide →Learn how to extract text after a character in Excel: TEXTAFTER and TEXTBEFORE, the last word, and the older FIND method.
Read Guide →