

You can see that the TRIM function cleaned up the extra spaces and the character counts are now all the same except for the “JoeSmith” that did not have any spaces between the first and last name. Click OK.Ĭopy the function to the remaining cells in the column to apply the function to the rest of the Name cells. On the Formulas tab, click the Text dropdown menu in the Functions group and select TRIM.Īfter the dialog box appears, click on the cell that contains the text you would like to remove spaces from to complete the function.
#How to remove columns in word 2016 download#
To follow using our example above, download Excel Remove Spaces Formula TemplateĬlick in the first cell of the Trim column. For the purposes of this demonstration, we’ve called the column “Trim.” To use the TRIM function, you will need to create a temporary, or helper, column for the corrected data at the end of your spreadsheet. However, the # of Characters column reveals that there are hidden spaces buried in the text. At a glance, several of them even look the same. In our example, you’ll see that there are multiple “Joe Smiths” in our data.

Use this function when you have text data that contains hidden spaces in the cell. The TRIM function removes all spaces from text except a single space between words.
#How to remove columns in word 2016 windows 7#
Images were taken using Excel 2013 on the Windows 7 OS. These steps will apply to Excel 2007-2013. The following tips will describe two methods using functions and formulas to remove unwanted spaces from your data. Especially when information has been copy/pasted into a spreadsheet, extra spaces can come along for the ride and lurk unnoticed until something goes wrong.Įxcel offers several ways to help you remove spaces and clean up your data, but you will want to choose the right technique for the type of data you are working with. Often, these issues are caused by extra spaces hiding before, after or between the text and numbers in your data. Or, how about – you are trying to add up two columns of numbers, but you keep getting errors.

By Tepring Crocker Categories: Advanced Excel Tags: Excel Formula Remove Spacesĭoes this sound familiar? You are searching for data that you know you’ve entered, but a query for Joe Smith simply doesn’t return any results.
