How to insert comma in excel for multiple rows
Tutor 5 (40 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To insert commas in Excel for multiple rows, modify cell formatting or apply a text transformation. Excel inserts commas to improve number readability or to structure text values.
Using Number Formatting to Add Commas
Number formatting adds commas to numeric values. Excel applies this formatting without changing the underlying value.
Windows
-
Select the rows with the numbers you want to format.
-
Press Ctrl + 1 to open Format Cells.
-
Select Number in the category list.
-
Set Use 1000 Separator (,).
-
Set the number of decimal places.
-
Click OK.
Mac
-
Select the rows.
-
Press Command + 1 to open Format Cells.
-
Choose Number.
-
Set Use 1000 Separator (,).
-
Choose decimal places.
-
Confirm with OK.
Using Find and Replace to Insert Commas in Text
Text strings accept inserted commas as characters.
Steps
-
Select the rows containing the text.
-
Press Ctrl + H on Windows or Command + Shift + H on Mac.
-
Enter the target pattern in Find what.
-
Enter the comma placement in Replace with.
-
Click Replace All.
Using Flash Fill to Insert Commas
Flash Fill creates comma-formatted text when the transformation pattern is predictable.
Steps
-
Enter the version of the text with commas in the first row.
-
Move to the next row and type the transformed value.
-
Press Ctrl + E on Windows or Command + E on Mac to apply Flash Fill to the column.
Using CONCAT to Add Commas to Multiple Rows
The CONCAT function inserts commas between values in a combined text.
Steps
-
Create a helper column.
-
Enter a formula such as:
=A1 & ","
-
Drag the fill handle down the column to apply the comma to all rows.
-
Copy and paste values if you need static text.
Using Power Query to Insert Commas for Structured Lists
Power Query creates comma-separated values when you need a list output.
Steps
-
Select the dataset.
-
Go to Data > From Table/Range.
-
Load the data into Power Query.
-
Select the column and choose Transform > Merge Columns.
-
Use a Comma as the delimiter.
-
Load back to Excel.
Key Notes
-
Number formatting shows commas without altering numeric values.
-
Text transformations create permanent comma characters in the cell.
-
Power Query helps when combining many rows into one comma-separated field.
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 are margins not working
Answers · 1
Why is page layout not working
Answers · 1
How to print repeated rows on top in excel
Answers · 1
How to print header on each page
Answers · 1