Use =A2&" "&B2 to join two cells with a space, or =CONCATENATE(A2," ",B2) for the same result.
=A2&" "&B2
You often need to combine two columns into one, for example when you have first and last names in separate columns and want a full name, or when you need to merge a city and a country into a single address line.
Step by step
- Click the cell where you want the combined text to appear (for example D2).
- Type
=A2&" "&B2(or=CONCATENATE(A2," ",B2)) and press Enter. - Drag the fill handle down to copy the formula to the other rows.
- If you want to keep only the combined text, copy the new column and paste it as values, then delete the original columns.
Try it here
Examples
1 Combine first and last name with a space
The ampersand (&) joins the text in A2, a space, and the text in B2. The result is the full name in one cell.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | First Name | Last Name | |||
| 2 | Ana | Lopez | Ana Lopez | ||
| 3 | Ben | Carter | |||
| 4 | Cara | Diaz | |||
| 5 |
=A2&" "&B22 Combine city and country with a comma
This formula adds a comma and a space between the city and the country. It works the same way as the first example but with different separator text.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | City | Country | |||
| 2 | Paris | France | Paris, France | ||
| 3 | Tokyo | Japan | |||
| 4 | Lima | Peru | |||
| 5 |
=A2&", "&B23 Combine product and price with formatting
The TEXT function formats the price with two decimals and a currency symbol, then the ampersand joins it with the product name. This keeps the number readable in the combined text.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | Price | |||
| 2 | Pens | 4.5 | Pens - $4.50 | ||
| 3 | Paper | 12.99 | |||
| 4 | Clips | 2.25 | |||
| 5 |
=A2&" - $"&TEXT(B2,"0.00")Other ways to do it
| Formula | Use it when |
|---|---|
=CONCATENATE(A2," ",B2) | Use when you prefer a function name over the & operator; it works the same but is longer to type. |
=TEXTJOIN(" ",TRUE,A2:B2) | Use when you want to join a range of cells and ignore empty cells; available in Excel 2019 and later. |
=A2&" "&B2 | Use the & operator for a quick, short formula that works in all Excel versions. |
Practise it
Free exercises with instant feedback. No sign-up needed.
Common mistakes
- The combined text has no space between the values (e.g., "AnaLopez"). Add a space inside quotes between the cell references:
=A2&" "&B2. - Numbers lose their formatting (e.g., 4.5 instead of $4.50). Wrap the number in TEXT:
=A2&" - $"&TEXT(B2,"0.00"). - The formula shows #NAME? because CONCATENATE is misspelled. Check the spelling: it is
CONCATENATEor use the & operator instead.
Questions people also ask
How do I combine two columns without a space?
Use =A2&B2 to join the values directly with no separator.
Can I combine more than two columns?
Yes, add more cell references and separators: =A2&" "&B2&" "&C2.
How do I combine columns and keep the result as plain text?
After combining, copy the new column and paste it as values (Paste Special › Values), then delete the original columns.
Functions used
Every formula on this page was checked by SheetSkill’s spreadsheet engine. All how-to guides