need help deleting space in cell with data

  • Thread starter Thread starter andrewsolomon
  • Start date Start date
A

andrewsolomon

I have pasted a 1000 dates in the format mm/yyyy

However, when pasted in, the dates all have a space at the end of the
last c
harachter. I want to delete that space so Excel recognizes field as a
date.
The trim function seems to be only for text. Can anyone provide a
solutio
n? Any help would be great.
Thank you in advance.
 
There are a few approaches for this. Try this one

1)Format the cells as dates
Format>Cells>Category Date (select a date format)
2)Select the list of text-dates
3)Date>Text to Columns>Delimited.....[Next]
Uncheck all delimiters......[Finish]

Does that work for you?

Ron
 
ron,
thanks so much for the message. What do you mean by
3)Date>Text to Columns>Delimited.....[Next]
Uncheck all delimiters......[Finish]

Do I right click and see "Date". I wasn't sure how exactly to select
Date.
 
Sorry....Fat fingers... :eek:

Date should be DATA (on the Excel main menu).

Regards,
Ron
 
If it has a trailing space then it is text, I assume you tried it? If it
didn't work most likely you have html garbage.


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



--
Regards,

Peo Sjoblom

(No private emails please)


"andrewsolomon" <[email protected]>
wrote in message
news:[email protected]...
 

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

Back
Top