Function Problems

How to Add a Comma After Each Name in an Excel Column

Camila MilosovichCamila Milosovich Nov 20, 2026 868 views

Question details

Add a comma to the end of each name or text value in an Excel column.

How to Add a Comma After Each Name in an Excel Column
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user has a column of names or text values and wants each value to end with a comma.
Observed behavior
Each resulting text value should retain its original content and have a comma appended.
Before you start

Identify the column containing your text and choose an empty column for the results. If your data starts below a header, adjust the formula to reference the first data row.

Solution 1Recommended

Use a Formula to Append a Comma to Each Value

Use a formula in an adjacent column to add commas without changing the original text.

1
Enter the formula

If the first text value is in cell A1, select B1, enter =A1&"," and press Enter.

2
Fill the formula down

Select B1 and drag the fill handle at the cell's lower-right corner down alongside the remaining values in column A.

3
Replace formulas with text if needed

Select and copy the results in column B, then use Home > Paste > Values to paste them as fixed text. You can paste them over column A if you want to replace the original values.

Use a Formula to Append a Comma to Each Value
Empty cells: The basic formula returns a comma for an empty source cell. To leave empty cells blank, use =IF(A1="","",A1&",") instead.
WPS Spreadsheets

Add Commas to a Column in WPS Spreadsheets

Use the same concatenation formula in WPS Spreadsheets to append commas to names or other text values and fill the results down.

  1. 1. Open the workbook: Open your spreadsheet in WPS Spreadsheets and locate the column containing the names.
  2. 2. Enter the formula: If the first name is in A1, select B1, type =A1&"," and press Enter.
  3. 3. Fill down: Select B1 and drag its fill handle down to apply the formula to the other rows.
  4. 4. Save the results: Use File > Save As to save the workbook. If you need fixed text rather than formulas, copy the results and use Paste Special > Values first.
Append commas to an entire column with a formulaOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceAccess spreadsheet tools for free
microsoft office alternative - wps office

Frequently Asked Questions

How do I add commas if my column has a header?

If the header is in A1 and the first name is in A2, enter =A2&"," in B2 and fill the formula down.

How can I avoid adding a comma to blank cells?

Enter =IF(A1="","",A1&",") in B1 and fill it down. The formula leaves the result blank when the source cell is empty.

Can I keep the results without keeping the formulas?

Yes. Copy the result cells, then use Home > Paste > Values to paste the displayed text as fixed values.

Will the formula change the original names?

No. The formula creates results in a separate column. The original cells change only if you paste the results over them.