How to create space after comma in Excel
When we copy data and Excel tables from the internet, we often encounter formatting errors, errors in displaying excess spacing in Excel, and missing spaces after the comma, causing the words to stick together and look quite confusing. With a simple table with little data, you can adjust it manually, but in reality this is not feasible because it is quite manual. To create a space after a comma in Excel, you can use a function or immediately use an available tool to do it, with a quick and very simple method. The article below will guide you to add spaces after commas in Excel.
1. Create space after comma using Excel function
To create space after the comma, we will combine the TRIM function with the SUBSTITUTE function. In the first cell, enter the formula =TRIM(SUBSTITUTE(B22,",",", ")) and then press Enter.
You will then get the results of characters with extra spaces after the comma. Drag the first cell results down to the remaining cells to complete the table.
2. Create space after comma using Find and Replace Excel
In addition to using the Excel function above, we can also immediately use the Find and Replace tool in Excel to change characters in the Excel data table.
First, highlight the data area you want to change and then press Ctrl + H to open the Find and Replace tool.
In the new interface that appears, click on the Replace tab . In the Find what section , enter a comma , and in Replace with , enter a comma and a space . Click Replace All to replace everything.
You will now see a notification about the number of positions that need to be replaced, click OK to complete. The resulting data has been separated by commas.
You should read it
- Basic Excel functions that anyone must know
- Save time with these text formatting functions in Microsoft Excel
- Difference between REPLACE and SUBSTITUTE in Microsoft Excel
- SUBSTITUTE function - The function replaces text strings in Excel
- How to use Hlookup function on Excel
- How to use the SUM function to calculate totals in Excel
- How to use the LEN function in Excel
- How to fix the SUM function doesn't add up in Excel
May be interested
- How to round numbers in Excel using the ROUND, ROUNDUP, ROUNDDOWN Functionhow to round numbers in excel using the round, roundup, rounddown function
- 4 ways to import data from websites into Google Sheetsif you use google sheets to analyze data then you already know that copying and pasting data from websites is ineffective.
- The best timesheet templates for you to track daily workdo you need an excel or word timesheet template? below is a collection of different templates, to help you manage your time effectively.
- Instructions for inserting a countdown timer in Google Slidesto insert a countdown timer in google slides, users can use some simpler ways than inserting a countdown timer in powerpoint.
- Instructions for creating Word Cloud in Google Slidesusing word cloud in google slides helps you present slides more effectively. below are instructions for creating word cloud in google slides.
- Top best PDF reading software 2023 for free on PC, laptopthe top best pdf reading software include: foxit reader, adobe reader, nitro reader, cool pdf reader, sumatra pdf,... follow the article with tipsmake to understand better.