How to Remove Spaces Using SUBSTITUTE Function

Step 1: Enter Data in the Excel Sheet

Now, to use the formula, we need to make a temporary column for the correct data at the end of the spreadsheet. So we have taken a data and temporary column called “Temp” similar to the first case.

Step 2: Select a Cell and Apply the Substitute Formula

Again select the first cell of the Temp column then go to the FORMULAS tab and then select the Text dropdown menu and click on SUBSTITUTE. 

Step 3: Functional Argument Box Popped Up

Afterward, a dialogue box will appear. Now enter the cell where we need to remove spaces in the Text Field. Then put  ” “ in the ‘Old_text’ field and enter “” In the ‘New_text’ field and then press OK.

Step 4: Extra Blank Spaces Removed

So, now the extra spaces in cell A2 get removed and it will be reflected in the new column Temp. Use the same function to remove all the extra spaces in the column Name.

Step 5: Copy Temp, Paste in Name, and Delete Temporary Column

Afterward, just copy the column Temp paste all the data in the Name, and delete your temporary column.

How to Remove Spaces in Excel

Have you ever wondered you keep searching data on Excel but it is not returning any values and many times you are trying to add columns or data but you are unable to do so? Well, these are some common problems we all have faced in our life. But do you know why it happens? This happens because of extra space(hidden) that remains in the text or number of your data.

How to Remove Spaces in Excel

By the end of this article, you’ll know how to make your Excel data look neater and work better using simple functions and tools like TRIM, Find and Replace, and more.

Similar Reads

How to Remove Spaces in Excel

Well, Excel gives you many ways to remove the spaces. We will learn about some of the simplest ways to remove the spaces in Excel that can increase our efficiency. So, let’s understand some of the ways:...

How to Remove Blank Spaces Using TRIM Function

To use the Trim function, we need to make a temporary column for the correct data at the end of the spreadsheet....

How to Remove Spaces Using SUBSTITUTE Function

Step 1: Enter Data in the Excel Sheet...

How to Remove Extra Spaces Between Words Using Find and Replace

“Find and Replace” function helps in deleting Excess Spaces between words....

How to Remove Spaces Using CLEAN Function

While importing data from some other source, it comes along with extra space as well as some non-printing characters like vertical and horizontal tabs, etc....

How to remove all spaces between numbers

If we have data in the form of numbers where the digits (thousands, millions, billions) are separated with spaces. Excel will treat numbers as text and no math operation can be performed....

Different Types of Spaces to Remove in Excel

Here are different types of spaces you can remove in Excel:...

Conclusion

To remove blank spaces from the data in the Excel sheet which causes hindrance in performing calculations or makes data inconsistent and unorganized many methods can be used as discussed above in the article. You can use the find and replace method which not only removes spaces from text but also from numbers or the clean with stream function....

How to Remove Spaces in Excel – FAQs

Why is TRIM not removing spaces in Excel?...