removing leading/trailing spaces

pholt33

Board Regular
Joined
Jan 4, 2005
Messages
202
Office Version
  1. 365
Platform
  1. Windows
For one of my processes, I need to email (in the body of the email) imformation to someone else (for various reasons, I cant send as anything other than the body of an email). That person copies the email and pastes into a template. Somewhere in the emailing process, a leading and trailing space is added to each item in a specific column. I tried using =trim but that didnt do anything. How can I get rid of those spaces? It would be awesome if it could happen automatically once the other person pasted the info into their template.

Thanks
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
ASAP is great, but I need something that will work on at 4 peoples computers, preferably without them having to think about it.
 
Upvote 0
if the data in ur column is text u could do the following:

select data>text to column>delimited and choose space

if the data in ur column is a number u could use the formula:
=value(A2)

this converts text 2 numbers
 
Upvote 0

Forum statistics

Threads
1,222,026
Messages
6,163,472
Members
451,838
Latest member
DonSlayer

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