How to remove a space

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

Dear NG:

I copied and pasted my E-Z Pass statement into Excel as HTML.

I sorted the data by tag number.

If I highlight the cells with the "toll charges" for a specific tag number I
SHOULD get the total toll charges in the lower status bar.

Instead I get nothing.

Apparently there is a blank space in front of each entry in the toll
charges column. If I manually remove the blank space the charges
total up in the status bar as they should.

Is there any way to remove the space in front of each entry in the toll
column other than manually removing them?

I have a feeling I'm missing something very simple here.

Thanks in advance for any suggestions.

-Kevin
 
One way is to use a helper column with the formula:-

=trim(a1)

Drag this down for the length of your data and leading/trailing spaces will
be removed.

Mike
 
Kevin

the fastest way to do this is highlight the column that has the toll
charges, go to Edit-> Replace and just replace the space with nothing
(i.e. put a space in the find box and leave the replace box empty)

Hope this helps.
Tim
 
Tim,

I tried that first thing. That didn't work. Dave Peterson explained why in
his post about it
not actually being a space but rather a HTML non-breaking space.

Aside from using the macro in DP's post I was also able to use Find and
Replace by holding down Alt and entering 0160 in the Find
feild and leaving Replace blank.

-Kevin
 
Back
Top