ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Text
  3. Concatenate With a Space, Comma or Dash in Excel

Concatenate With a Space, Comma or Dash in Excel

By ExcelReady Team·Updated November 1, 2026·7 min read

The short answer

To concatenate with a space, put a space in double quotes between the cells: =A2&" "&B2 joins a first and last name. CONCATENATE(A2," ",B2) and CONCAT(A2," ",B2) do the same. For several cells, =TEXTJOIN(" ",TRUE,A2:C2) adds the space for you and skips empty cells, so you never get double spaces.

Key takeaways

  • A space is just text: put it in double quotes, " ", and join it like any other value.
  • =A2&" "&B2, CONCATENATE(A2," ",B2) and CONCAT(A2," ",B2) all give the same result.
  • TEXTJOIN puts the same separator between every value and can skip empty cells.
  • Use ", " for a comma and a space, " - " for a dash with spaces, and CHAR(10) for a line break.
  • TEXTJOIN and CONCAT need Excel 2019 or later; & and CONCATENATE work in every version.
On this page+
  1. How to concatenate two cells with a space
  2. Concatenate with a comma, dash or other separator
  3. Concatenate three or more cells with TEXTJOIN
  4. How to avoid double spaces when a cell is empty
  5. Concatenate a whole column into one cell
  6. Concatenate numbers and dates with a space
  7. Common mistakes when concatenating with a space
  8. Practise it

To concatenate with a space in Excel, you add the space yourself as a piece of text: " ", a space between two double quotes. Excel never adds separators on its own, so =A2&B2 gives "AnaCosta" while =A2&" "&B2 gives "Ana Costa". This guide shows how to add a space, comma or dash with &, CONCATENATE, CONCAT and TEXTJOIN, and how to avoid double spaces when a cell is empty.

All the examples use this name list:

ABC
1FirstMiddleLast
2AnaMariaCosta
3BenOkafor
4ChloeRoseMartin
5DevSharma

How to concatenate two cells with a space#

Put " " between the two cells and join everything with &:

Excel formula
=A2&" "&C2

The result is Ana Costa. Read it as "first name, then a space, then last name". The & sign joins values in order, and the space inside the quotes is a value like any other.

The same result with functions:

FormulaResultWorks in
=A2&" "&C2Ana CostaEvery version
=CONCATENATE(A2," ",C2)Ana CostaEvery version
=CONCAT(A2," ",C2)Ana CostaExcel 2019 and later, Microsoft 365

In every case, the space is its own argument or piece, in quotes. Fill the formula down the column and each row joins its own names, because the cell references move with it while the space stays the same. CONCAT is the newer name for CONCATENATE and can also take whole ranges. For the full differences, see CONCATENATE vs CONCAT vs TEXTJOIN and the & sign vs CONCATENATE.

Concatenate with a comma, dash or other separator#

Any separator works the same way: put it in quotes, with the spaces you want around it.

You wantFormulaResult
Last, First=C2&", "&A2Costa, Ana
A dash with spaces=A2&" - "&C2Ana - Costa
A dash, no spaces=A2&"-"&C2Ana-Costa
A slash=A2&"/"&C2Ana/Costa
A full stop and space=A2&". "&C2Ana. Costa

The most common mistake is forgetting the space after a comma: =C2&","&A2 gives "Costa,Ana". Excel adds exactly what's inside the quotes, nothing more.

For a line break between values instead of a space, use CHAR(10) and turn on Wrap Text. The guide to line breaks in formulas explains how.

Concatenate three or more cells with TEXTJOIN#

When you join several cells with the same separator, typing &" "& between each one gets tiring. TEXTJOIN adds the separator for you:

Excel formula
=TEXTJOIN(" ",TRUE,A2:C2)

The result is Ana Maria Costa. TEXTJOIN has three parts:

ArgumentWhat it meansHere
delimiterThe separator to put between values" "
ignore_emptyTRUE skips empty cells; FALSE includes themTRUE
text1, ...The cells or ranges to joinA2:C2

TEXTJOIN needs Excel 2019, Excel 2021, Excel 2024 or Microsoft 365. The TEXTJOIN function guide has a quick reference.

How to avoid double spaces when a cell is empty#

Ben has no middle name. With &, the empty cell still gets a space on each side:

Excel formula
=A3&" "&B3&" "&C3

This gives "Ben Okafor", with two spaces in the middle. It's hard to see, but it breaks lookups and comparisons later.

TEXTJOIN with TRUE fixes this, because it skips empty cells and their separators:

Excel formula
=TEXTJOIN(" ",TRUE,A3:C3)

The result is Ben Okafor, with one space. That is why TEXTJOIN is the best choice whenever some cells might be blank. The guide to TEXTJOIN ignoring blanks covers more cases, such as addresses with an optional second line.

In older Excel without TEXTJOIN, wrap the joined text in TRIM, which turns double spaces into single ones:

Excel formula
=TRIM(A3&" "&B3&" "&C3)

This also gives Ben Okafor. TRIM only fixes spaces, though. With commas, an empty cell still leaves ", ," in the result, so TEXTJOIN is the cleaner fix.

Concatenate a whole column into one cell#

TEXTJOIN can also join down a column, which is handy for building a list of names for an email or a summary line:

Excel formula
=TEXTJOIN(", ",TRUE,A2:A5)

The result is Ana, Ben, Chloe, Dev, with a comma and a space between each name and none at the end. Doing the same with & would need a separate piece for every cell, and an extra comma to remove at the end. Add a condition with FILTER in Microsoft 365, such as =TEXTJOIN(", ",TRUE,FILTER(A2:A5,B2:B5<>"")), to list only the people with a middle name: Ana, Chloe.

Concatenate numbers and dates with a space#

When you join a number or a date, Excel uses its raw value, not the formatted one. A date shows as a serial number, like 45366, and money loses its currency sign. Wrap the value in TEXT to control how it looks:

Excel formula
=A2&" joined on "&TEXT(D2,"d mmm yyyy")

If D2 holds 15 March 2024, the result is Ana joined on 15 Mar 2024. Note the spaces at both ends of " joined on ": they keep the words apart. The guide to combining text in Excel has more number and date examples.

Common mistakes when concatenating with a space#

  1. No space at all. =A2&B2 gives AnaCosta. Add " " between the cells.
  2. The space outside the quotes. =A2& &B2 is a syntax error. The space must be inside double quotes.
  3. Quotes around the cell. ="A2"&" "&"B2" gives the letters A2 B2. Cell references never go in quotes.
  4. Double spaces from blank cells. Use TEXTJOIN with TRUE, or TRIM.
  5. A comma with no space. Write ", " with the space inside the quotes.

Once you are comfortable joining text, you can use the same idea for simple in-cell charts, as shown in in-cell bars with REPT.

Practise it#

Joining names and labels is one of the first text tasks in most Excel job tests. Practise joining text in a live spreadsheet: you type formulas with &, CONCAT and TEXTJOIN, and each one is checked instantly, double spaces included. Or try the TEXTJOIN exercise on this page.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Ben has no middle name, so B3 is empty. In D3, use TEXTJOIN with a space as the separator and TRUE to skip blanks, joining A3:C3.

fx
ABCDE
1
First
Middle
Last
Full name
2
Ana
Maria
Costa
3
Ben
Okafor
4
Chloe
Rose
Martin
5
Dev
Sharma
6
7
8

Tip: TEXTJOIN takes the separator first (" "), then TRUE to ignore empty cells, then the range.

Practise this in a lesson

LessonJoining text: &, CONCAT and TEXTJOINBuild full names, addresses and tag lists by joining text with &, CONCAT and TEXTJOIN.Function guideTEXTJOINJoin cells with commas, spaces or semicolons using TEXTJOIN, and skip blanks automatically. Examples, pitfalls and a live exercise.

Frequently asked questions

How do I concatenate two cells with a space in Excel?

+

Use =A2&" "&B2. The space in double quotes goes between the two cells. CONCATENATE(A2," ",B2) gives the same result.

Why are my concatenated values stuck together?

+

Excel only adds what you tell it to. If you write =A2&B2 there is no space. Add " " between the cells, like =A2&" "&B2.

How do I concatenate with a comma and a space?

+

Put both inside the quotes: =A2&", "&B2. Or use TEXTJOIN for a range: =TEXTJOIN(", ",TRUE,A2:D2).

How do I avoid double spaces when a cell is blank?

+

Use TEXTJOIN with TRUE as the second argument, like =TEXTJOIN(" ",TRUE,A2:C2). It skips empty cells, so no extra separators appear. In older Excel, wrap the joined text in TRIM.

Sources

  • TEXTJOIN function - Microsoft Support
  • CONCAT function - Microsoft Support
  • CONCATENATE function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to concatenate two cells with a space
  2. Concatenate with a comma, dash or other separator
  3. Concatenate three or more cells with TEXTJOIN
  4. How to avoid double spaces when a cell is empty
  5. Concatenate a whole column into one cell
  6. Concatenate numbers and dates with a space
  7. Common mistakes when concatenating with a space
  8. Practise it

Keep reading

Comparisons· 7 min read

CONCATENATE vs CONCAT vs TEXTJOIN vs &

Use & or CONCAT to join a few pieces of text, and TEXTJOIN when every piece gets the same separator or some cells may be empty. TEXTJOIN adds the separator for you and can skip blanks. CONCATENATE is the older version of CONCAT, kept for compatibility. CONCAT and TEXTJOIN need Excel 2019 or later.

Comparisons· 7 min read

& vs CONCATENATE in Excel: Which Joins Text Better

The ampersand (&) and CONCATENATE do the same job: they join text from cells and quotes into one string, with an identical result. Use & for everyday formulas because it is shorter, easier to read and works in every version of Excel. CONCATENATE is an older function kept for compatibility, so you only need it to read existing files.

Text· 7 min read

How to Combine Text in Excel (&, CONCAT, TEXTJOIN)

To combine text in Excel, join the pieces with &: =A2&" "&B2 turns Nora and Delgado into Nora Delgado. CONCAT does the same with a list of pieces. TEXTJOIN puts the same separator between every piece and can skip empty cells: =TEXTJOIN(", ",TRUE,C2:E2). Type spaces and commas yourself, inside double quotes.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free