How to add a comma to a column of data in excel
Tutor 5 (297 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To add a comma to a column of data in Excel, use one of three precise methods: custom formatting, formulas, or Flash Fill. Each method applies to Windows and macOS with identical steps unless noted.
Using Custom Number Formatting
Custom formatting displays commas without changing the underlying values.
Steps
-
Select the column.
-
Right-click and choose Format Cells.
-
Choose Number → Custom.
-
Enter a format such as #,##0 for thousands separators or #,##0.00 for decimals.
-
Press OK.
Key Details
-
The format changes the appearance, not the stored value.
-
Windows and macOS provide the same Custom Format interface.
-
The comma follows the locale rules set in your operating system.
Adding a Comma Using a Formula
A formula appends a literal comma to each cell, which changes the stored value.
Steps
-
Insert a new column next to your data.
-
Enter a formula such as:
=A1 & ","
-
Press Enter.
-
Drag the fill handle down.
-
Copy the new column → Paste Special → Values.
Key Details
-
The comma becomes part of the text.
-
This method is used when exporting data or preparing structured text.
Adding a Comma With Flash Fill
Flash Fill detects patterns and fills the column automatically.
Steps
-
In the first cell next to your data, type the value with a comma, such as
123,. -
Press Enter.
-
Start typing the next value with a comma.
-
Excel suggests a fill pattern.
-
Press Enter to accept.
Key Details
-
Flash Fill is available in Excel 2013+ and Excel for Mac 2016+.
-
It requires consistent patterns.
Choosing the Best Method
-
Use Custom Formatting when you need visual commas for readability.
-
Use a Formula when the comma must become part of the text.
-
Use Flash Fill when the column follows a simple and repeatable pattern.
If you want, I can create a custom formula for your exact dataset format.
. Was this Helpful?Related Questions
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Why is today function not working
Answers · 1
How to extract date from datetime in excel
Answers · 1
Why is the date value not working
Answers · 1
How to create a date formula
Answers · 1