Skip to main content
 

How to add comma in the end of each line in Word document?

Author: Sun Last Modified: 2024-08-02

Supposing you have a list of data in a Word document, now you want to add comma in the end of each line as below screenshot shown, how can you quickly handle the job without adding commas one by one?
List of data in a Word document with commas added at the end of each line


Add comma in end of each line with Find and Replace

In Word, the Find and Replace function will do you a favor on solving this job.

1. Select the contents you want to add comma in end of each line, then press Ctrl + H to open the Find and Replace dialog.

2. In the popping dialog, type ^p in the Find what textbox, then type ,^p in Replace with textbox. See screenshot:
Find and Replace dialog with ^p in the Find what textbox and ,^p in the Replace with textbox

3. Click Replace All, a dialog pops out to remind you if need to search the rest of the document, click Yes or No as you need.
Dialog box saying 'Do you want to search the rest of the document?'

Then commas have been added in the end of each line.


Add comma in end of each cell in Excel with Kutools for Excel

If you want to add comma in end of each cell in Excel, you can use Kutools for Excel’s Add Text utility to quickly deal with this job.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

After installing Kutools for Excel, please do as below:

1. Select the cells you use, click Kutools > Text > Add Text.
Add Text option on the Kutools tab on the ribbon

2. In the Add Text dialog, type comma , into Text textbox, check After last character option.
Add Text dialog box

3. Click Apply or Ok to add comma into each cell.
List of data in Excel with commas added at the end of each cell


Demo: How to add comma at end of cell or text in Excel

 

Tabbed Browsing & Editing for Multiple Word Documents/Excel Workbooks, Just Like in Chrome and Edge!

Just like browsing multiple webpages in Chrome, Safari and Edge, Office Tab lets you open and manage multiple Word documents or Excel workbooks in one Word window or Excel window. Switching between documents or workbooks is now simple with a click on their tabs!

Try Office Tab for free now!

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

🤖 Kutools AI Features: Generate Content / Rewrite Text / Document Q&A / Get Quick Answers / Translate documents / Polish Document (Preserve Format)...

📘 Document Mastery: Split Pages / Merge Documents / Export Selection in Various Formats (PDF/TXT/DOC/HTML...) / Batch Convert to PDF...

Contents Editing: Batch Find and Replace across Multiple Files / Resize All Pictures / Transpose Table Rows and Columns / Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces / Section Breaks / Text Boxes / Hyperlinks / For more removing tools, head to the Remove group...

Creative Inserts: Insert Thousand Separators / Check Boxes / Radio Buttons / QR Code / Barcode / Multiple Pictures / Discover more in the Insert group...

🔍 Precision Selections: Pinpoint Specific Pages / Tables / Shapes / Heading Paragraphs / Enhance navigation with more Select features...

Star Enhancements: Navigate to Any Location / Auto-Insert Repetitive Text / Toggle Between Document Windows / 11 Conversion Tools...

Kutools and Kutools Plus tabs on the Word Ribbon
👉 Want to try these features? Download Kutools for Word now! 🚀
 

Best Office Productivity Tools

Kutools for Word - 100+ Tools for Word