Remove blank space in front of text in multiple cells at once

S

SMS

I transposed data from multiple columns into rows. Most of the cells contain
text that has a blank space before the word. I want to remove this blank
space at once (without having to go into each cell and backspace)
 
S

Suleman Peerzade

use the Trim formula to remove all the extra spaces
=TRIM(A1) the result will come in which ever cell you select for the answer
 
J

JBeaucaire

It's actually two steps. First, use a TRIM function to strip out the
leading/trailing spaces:

=TRIM(A2)

....and copy down as far as needed.

Next, copy the entire set of cells you just created and select Copy, select
the first cell in the original data, then Edit > Paste Special > Values to
paste the new data back over the top of the old. You can now delete the
helper cells.

Repeat with any other columns.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top