Subscribe for access to this FREE e-learning mini-course!


Your First Name:


Your Surname:


Your Email Address:



Subscribe
Close


Small logo
Hamburger menu
Menu
bookings:   0333 6000 111
service:       0333 6000 555
    or           
Free Video Tutorials : Excel Formulas
Free Video Tutorials : Excel Formulas
Search

EXCEL FORMULAS: HOW TO REMOVE SPACES

Learn how to remove unwanted cell spaces or non-printer friendly characters from your Excel spreadsheet

Background information and resources for Excel courses that we hope you find useful

'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 number one 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 what's imported isn't all 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, there's a formula or two for that.

REMOVING UNWANTED SPACES WITH THE TRIM FUNCTION

The data below has been imported 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.

Removing Unwanted Spaces with the 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.

Using the CLEAN function to Delete Unidentified Characters
WE HOPE YOU FOUND THIS USEFUL

Want to see how we can really help you?

LINKS TO MORE ...

Main Excel Resources Page

Excel Resources

Video tutorials & articles, and templates to help you work better in Excel

      Click to view

 

Video Tutorials - Excel Formulas

Video Tutorials - Excel Formulas

Learn and work with new Excel formulas to help create effective, automated spreadsheets

Click to view

Excel Formulas: Circular reference warning

Excel Formulas: Circular reference warning

See what a Circular Reference warning means and how to locate it in your Excel spreadsheet

      Click to read more

 

Excel Formulas: Calculate difference in dates

Excel Formulas: Calculate difference in dates

Learn how to calculate the difference between two dates in your Excel spreadsheet in a few easy steps

      Click to read more

Excel Formulas: Why a formula doesn't work

Excel Formulas: Why a formula doesn't work

Find out why your formula might not work in Microsoft Excel and how to fix it

      Click to read more

 

Excel Formulas: How to work out gross profit

Excel Formulas: How to work out gross profit

Find out how to use a formula to work out gross profit in Microsoft Excel

      Click to read more

GET IN TOUCH

Call us on:
0333 6000 111

   You can Email us direct (You'll usually get a response within 2-3 working hours)
   Or fill out the details below and we'll be in touch very soon:
SEND MESSAGE

HOW TO REMOVE CELL SPACES IN EXCEL

We can enhance your skills with courses for Microsoft Excel spreadsheets at any of our twelve training centres UK wide, or we can come to your offices: if you have groups of three or more staff who need training, this is a very convenient, flexible and cost effective option. Moreover, most of our excel courses are 1 day, which keeps "out of office" periods for attendees to a minimum.

We have been delivering Microsoft Excel course all over the UK since 1995 and have continually developed our philosophy of high quality, flexible and results-driven provision of courses for Excel to ensure constantly improving standards of quality.   So you can be confident that we have the expertise, and the experience, to give you a great return on your investment in Free Video Tutorials : Excel Formulas.

Why not contact us today to see how we can help with providing your MS Excel classes ?


Stay in touch

Stay In Touch!

Google+
LinkedIn
Twitter
FaceBook
YouTube

Contact Details

Activia Training

Locations Address: Head Office, Regus House,
268 Bath Road
Slough, Berkshire SL1 4DX

Phone Sales:           0333 6000 111

Service:       0333 6000 555

Accounts:   0333 6000 777



Back to top