Removing Extra Spaces

sharon.dawson

New Member
Joined
Apr 23, 2003
Messages
10
I have done an export from SAGE and when imported into Excel it has added 3,4 or 5 spaces to the end of each product number. Is there an easy way in which i can strip all of the spaces at the end of the product number only.

Regards
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
In an empty column use a formula like this:
Code:
=TRIM(A1)
and copy down as required ( adjust the formula ref to suit your case ). Then copy the results, and do a Paste Special/Values over the originals. Delete the column of formulae that you created ( they are no longer needed ).
 
Upvote 0

Forum statistics

Threads
1,207,111
Messages
6,076,624
Members
446,216
Latest member
BEEALTAIR

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top