How do I use TRIM?

G

Guest

I have a range of cells displaying time. All times that have 2 digit hours
like, 10, 11, 12 display correcty, but all single digit times there is one
space preceding the time. Ex, 09:35 but the zero is a space. How can you get
rid of those space? I tried =TRIM(range of cells) and =TRIM(single cell) and
nothing works. thanks in advance.
 
B

Bob Phillips

It might be an HTML nbsp; if downloaded.

Try

=SUBSTITUTE(A1,CHAR(160),"")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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