Skip to main content

How to add spaces after commas in Excel?

Author: Xiaoyang Last Modified: 2025-04-09

Adding spaces after commas in Excel is a common task, especially when dealing with text data that needs to be formatted for readability or consistency. This guide will walk you through various methods to achieve this.

add spaces after commas sample data

Add spaces after commas with formula

Add spaces after commas with Kutools for Excel

Add spaces after commas with Find and Replace function


Add spaces after commas with formula

To add the spaces after commas in your worksheet, you can apply the following simple formula, please do as these:

Next to your data, please enter this formula, then drag the fill handle over to the cells which you want to apply this formula, and all the text strings have been inserted a space after every comma see screenshot:

=TRIM(SUBSTITUTE(A2,",",", "))

add spaces after commas with formula to get the result

Explanation of this formula:
  • SUBSTITUTE(A2, ",", ", "): The SUBSTITUTE function replaces every comma , in the text from cell A2 with a comma followed by a space.
  • RIM(...): The TRIM function removes any extra spaces from the text, keeping only single spaces between words or after commas, and removing leading or trailing spaces.

Add spaces after commas with Kutools for Excel

With Kutools for Excel, adding spaces after commas is a quick and easy task. With its intuitive "Add Text" feature, you can easily insert spaces after commas in just a few clicks—no complex formulas or coding required!

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, click "Kutools" > "Text" > "Add Text" to go to the "Add Text" dialog box.
click Add Text to go to the dialog box

In the "Add Text" dialog box, please set the following operations:

  1. Type a space into the Text box;
  2. Select "After text" option and type a comma.
  3. Click OK button.
    specify the options in the dialog box

Result: Kutools will instantly format your text by adding spaces after commas, see screenshot:
specify the options in the dialog box


Add spaces after commas with Find and Replace function

In Excel, you can also use the Find and Replace function to replace the comma by comma + space, you can do as following steps:

1. Select the data range that you want to add spaces after commas.

2. Then click "Home" > "Find & Select" > "Replace" or you can press "Ctrl + H" keys to open the "Find and Replace" dialog box.

go to find and replace feature

3. In the opened "Find and Replace" dialog, enter a comma into the "Find what" text box, and type a comma and a space into the "Replace with" text box, see screenshot:

set the options in the find and replace dialog

4. And then click "Replace All" button, the spaces have been inserted after the commas.

Adding spaces after commas in Excel is a simple yet essential task for improving the readability and consistency of your data. Whether you prefer using formulas for a quick and dynamic solution, leveraging the user-friendly Kutools for Excel for bulk processing, or utilizing the Find and Replace function for straightforward manual adjustments, there’s a method to suit every need. If you're interested in exploring more Excel tips and tricks, our website offers thousands of tutorials to help you master Excel..


Related article:

How to insert spaces before capital letters in excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!