Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Converting TEXT to DATE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GFH - 04 Jan 2007 07:27 GMT
Evening

I have two simalar issues.

1) I have a column of text that represents the date but is entered as
text. The entry has a leading space (entered as "<sp>12 DEC 06")  that
does not permit the entry to be displayed or treated as a DATE cell.

Question how can I strip the leading space from a cellso I can format
and display the cell as a DATE?

and 2nd

Another column has a time entry with the same leading zero as well as
one after the full colon   "<sp>9:<sp>34" without quotes of course.

Same question is there an easy way to get rid of the leading space s
well as the <sp> after the colon?

Thank you

G
Niek Otten - 04 Jan 2007 07:31 GMT
Use the DATEVALUE() function

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Evening
|
[quoted text clipped - 18 lines]
|
| G
GFH - 04 Jan 2007 07:48 GMT
BEautifull!

Thank you Niek

Any ideas on the second question?

G

>Use the DATEVALUE() function
Niek Otten - 04 Jan 2007 08:00 GMT
=TIMEVALUE(A1)

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| BEautifull!
|
[quoted text clipped - 5 lines]
|
| >Use the DATEVALUE() function

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.