How to combine two columns in Excel with a comma

You will join values from two or more columns into one cell, with a comma or space between them, and keep every value intact. It suits anyone tidying name, address or product lists in Excel. You need Excel 2019 or Microsoft 365 for the TEXTJOIN formula, or any version for the ampersand method.

YouTube video: How to combine cells in Excel without losing data

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
4 min 29 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Open your sheet and click the first empty cell in a spare column beside your data. This helper column holds the combined text so your original columns stay untouched.

  2. Type an ampersand formula with a comma in quotes between the cells, like =A2&", "&B2. Press Enter and the two values appear in one cell, separated by a comma and space.

  3. Grab the small square at the bottom right of the formula cell and drag it down the column. Excel fills the formula for every row, so each row gets its own combined value.

  4. For a whole range, use =TEXTJOIN(", ",TRUE,A2:C2). The first part is the separator, TRUE skips empty cells, and the range is what you want joined.

  5. To put a full list in one cell, point TEXTJOIN at a vertical range, such as =TEXTJOIN(", ",TRUE,A2:A20). You get one comma-separated string instead of twenty rows.

  6. Keep dates and currency looking right by wrapping them in TEXT, like =TEXT(A2,"mm/dd/yyyy")&" "&TEXT(B2,"$#,0.00"). Excel then joins the displayed text, not the raw number.

  7. Select the helper column, copy it, then use Paste Special and choose Values. The formulas become plain text, so the results survive if you later delete the source columns.

  8. If you need a true merged cell, combine the values first, paste them as values, then select the cells and click Merge and Center. Never merge first, because only the top-left value survives.

Tips and common mistakes

Merge and Center keeps only the top-left value and silently drops the rest, so join the text first and merge afterwards.

Press Ctrl+Z straight away if a merge wiped data, since undo usually restores the cleared cells.

Leading zeros disappear unless the source cell is formatted as Text or you wrap it in TEXT with a format like "00000".

Flash Fill (Ctrl+E) can build a combined column from one typed example if you prefer no formulas.

Questions

Why did my data disappear when I merged cells?

Excel's Merge and Center keeps only the value in the top-left cell of the selection. Combine the values into one cell with a formula or TEXTJOIN first, then merge the empty cells if you still want the look.

How do I add a comma between the joined values?

Put the comma inside quotes in your formula, as in =A2&", "&B2, or make it the first argument of TEXTJOIN: =TEXTJOIN(", ",TRUE,A2:C2). Add a space after the comma for readable output.

Does this work in older versions of Excel?

The ampersand method works in every version. TEXTJOIN needs Excel 2019 or Microsoft 365, so on Excel 2016 use =A2&", "&B2&", "&C2 and copy it down instead.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all