excel

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel

Excel

resolvedResolved · Low Priority · Version 2007

Faye has attended:
Excel Pivot Tables course

Excel

I often copy data into spreadsheet and sometimes i find there is a space before the word in the cell?
How can i get rid of this in mass?

RE: Excel

Hi Faye

Thanks for getting in touch. This is a common problem. To fix this you will need a spare column where you can enter a new formula to remove the excess spaces.

In the spare column, use the TRIM function to clean up the cell. Assuming your piece of data is in cell A1, it will look like this:

=TRIM(A1)

The cleaned-up result will be left in the cell. Now of course you can fill the formula down the rest of your data.

To tidy it up you will probably want to Copy and Paste Special > Values to be left with the result rather than the formula.

Kind regards

Gary Fenn
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector


 

Excel tip:

Deleting a range of cells using the autofill handle

Firstly, select the range of cells for which you would like to clear the contents. Then drag the autofill handle to the the top left corner of the selection whilst holding down the shift key. Your selected contents should then be deleted.

View all Excel hints and tips


Server loaded in 0.09 secs.