zandax online course logo
 
 
 
 
zandax 10 year anniversary
 
 
 
 
 
 
Home   >  ZandaX Blogs   >  Business Blog   >  Video Tutorials Articles   > 
How to Remove Spaces in Microsoft Excel

How to Remove Spaces in Microsoft Excel

 
Upgrading your skills, and your life, with ZandaX
How can you remove cell spaces in Microsoft Excel? Learn how to do it in this free Excel video tutorial from ZandaX Training.
 
Article author: Jordan James
      Written by Jordan James
       (2-minute read)
"Trim the fat" is a phrase many of us use, and it applies to Excel as well.

There are so many different programs which analyse and report on data, and Excel is still the number one application for user-friendly ways of displaying and calculating figures. When importing information from other programs or copying information in from elsewhere, it's possible that the data that you're wanting isn't all that you get.

Often you may find that the data you have imported has extra spaces in it, either before or after the text in the cell. This may look OK, but if you are using a formula to search for a particular string of text, it's unlikely that you will take the extra spaces into consideration as well. This means that the formula won't work and you may not be able to locate the records that you need.

It's not just invisible spaces, though - it may also be unprintable characters that don't translate into Excel, which need to be removed from each record.

Getting rid of these unwanted spaces and symbols, or cleaning your data, makes your file work better. But (understandably) no one wants to go through each record amending every one of these. So how can you get rid of them? Luckily, Excel has a formula or two for that.


How To Remove Cell Spaces In Excel Video

Watch to see how to remove cell spaces in excel

[ Video tutorial created by Activia Training and purchased by ZandaX ]


Removing unwanted spaces with the trim function

The data below has been imported from an external source, but there are strange spaces everywhere, and some of it is formatted as uppercase and some is either mixed or lower case.

In cases like this, we can use the TRIM function to get rid of the unwanted spaces either side of the text. Combining the TRIM function with other text functions means that not only are you cleaning the data, but you're putting it into a decent format as well.

Microsoft Excel trim function

Using the Clean function to delete unidentified characters

In the next column we would use the following formula, copied down to apply it to all the rows:

=PROPER(TRIM(A1))

This will trim the spaces out of cells and also convert the cell to PROPER - that is, a capital for each word, which is good for names and other proper nouns. In order to delete non-printable characters, simply use the CLEAN function instead of TRIM. This will get rid of all the funny squares, circles and other unidentified symbols which are unwanted in your data.

Removing spaces in Excel

Improve Your Excel Skills


If you'd like to learn more about Microsoft Excel, why not take a look at how we can help?

We have a whole range of online courses for all skill levels.
RRP from $39 – limited time offer just $8.99

More Articles on Video Tutorials

Why Do Arrow Keys Move the Screen in Excel Worksheet?
Why Do Arrow Keys Move the Screen in Excel Worksheet?
Jordan James
Author: Jordan James
About the article
Summary
Learn why arrow keys move the screen in Excel Worksheet with this free article and video tutorial from Activia Training.
[ close ]
How To Add Motion Paths To Animations In PowerPoint
How To Add Motion Paths To Animations In PowerPoint
Jordan James
Author: Jordan James
About the article
Summary
Learn how to add motion paths to animations in Microsoft PowerPoint from this tutorial from Activia Training.
[ close ]
How to Work Out Percentage Increase in Microsoft Excel
How to Work Out Percentage Increase in Microsoft Excel
Jordan James
Author: Jordan James
About the article
Summary
Learn how to work out a percentage increase in Microsoft Excel on the Activia Training website.
[ close ]
How to Select Data in Excel Using Keyboard
How to Select Data in Excel Using Keyboard
Jordan James
Author: Jordan James
About the article
Summary
Learn how to quickly select data in Excel using the keyboard with this tutorial from Activia Training.
[ close ]
How to Format Dates in Microsoft Excel
How to Format Dates in Microsoft Excel
Jordan James
Author: Jordan James
About the article
Summary
[ close ]
How to Format Cells in Microsoft Excel
How to Format Cells in Microsoft Excel
Jordan James
Author: Jordan James
About the article
Summary
[ close ]
How to Reduce File Size in Microsoft Excel
How to Reduce File Size in Microsoft Excel
Jordan James
Author: Jordan James
About the article
Summary
[ close ]
How to Save Excel File in PDF or XPS
How to Save Excel File in PDF or XPS
Jordan James
Author: Jordan James
About the article
Summary
[ close ]
How to Zoom in Excel
How to Zoom in Excel
Jordan James
Author: Jordan James
About the article
Summary
Find out how to zoom in and out of spreadsheets in Microsoft Excel with this guide from Activia Training.
[ close ]
How to Use the Shift Key in Excel
How to Use the Shift Key in Excel
Jordan James
Author: Jordan James
About the article
Summary
Learn how to use the shift key to navigate around your spreadsheet in Microsoft Excel, with this guide from Activia Training.
[ close ]
How to Use F3 to Paste Names in Excel
How to Use F3 to Paste Names in Excel
Jordan James
Author: Jordan James
About the article
Summary
Find out how to use F3 to paste names in Microsoft Excel with this guide from Activia Training.
[ close ]
How to Export Quick Access Toolbar in Excel
How to Export Quick Access Toolbar in Excel
Jordan James
Author: Jordan James
About the article
Summary
Find out how to export your customised Quick Access Toolbar in Excel, with this guide from Activia Training.
[ close ]
 

Write for us on the ZandaX blog

We're always looking for guest contributors to increase the variety and diversity of what we present.

Click to see how you can write for us:

 

The ZandaX Business Skills blog categories

Click a panel to visit the main category pages for the blog
Career Success
Career Success
Marketing
Marketing
Presentation Skills & Public Speaking
Presentation Skills & Public Speaking
Customer Service
Customer Service
Microsoft Software
Microsoft Software

ZandaX Blog Contents

Want to see them all? Click to view a full list of articles in our blogs.

 
zandax online courses logo
"ZandaX courses are such great value, and with the help and support they give, there's no better option in the market"
ZandaX LinkedIn logo
ZandaX YouTube logo
ZandaX FaceBook logo
Course Categories
 
All content © ZandaX 2025