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 / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Covert Number to date

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Newbee - 12 May 2008 18:14 GMT
I have a spreadsheet with 20071123 is in number format.  I am trying to
covert it so that excel will see those numbers as a date.  It is not text but
in number format.  How do I change this to make it read 11/23/2007
Bob Phillips - 12 May 2008 18:20 GMT
=DATE(LEFT(H1,4),MID(H1,5,2),RIGHT(H1,2))

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I have a spreadsheet with 20071123 is in number format.  I am trying to
> covert it so that excel will see those numbers as a date.  It is not text
> but
> in number format.  How do I change this to make it read 11/23/2007
Peo Sjoblom - 12 May 2008 18:22 GMT
Select the column with the "dates", do data>text to columns, click next
twice, under column data format select Date and from dropdown select YMD and
click finish

Signature

Regards,

Peo Sjoblom

>I have a spreadsheet with 20071123 is in number format.  I am trying to
> covert it so that excel will see those numbers as a date.  It is not text
> but
> in number format.  How do I change this to make it read 11/23/2007
T. Valko - 12 May 2008 18:25 GMT
Try this:

Select the cell in question
Goto the menu Data>Text to columns
Click Next twice
In Step 3 of the wizard under Column data format...
Select Date>YMD
Click Finish

Signature

Biff
Microsoft Excel MVP

>I have a spreadsheet with 20071123 is in number format.  I am trying to
> covert it so that excel will see those numbers as a date.  It is not text
> but
> in number format.  How do I change this to make it read 11/23/2007
Rick Rothstein (MVP - VB) - 12 May 2008 18:40 GMT
If you want to go the formula route as Bob suggested, here is a slightly
shorter alternative for you to consider...

=--TEXT(H1,"0000-00-00")

Rick

>I have a spreadsheet with 20071123 is in number format.  I am trying to
> covert it so that excel will see those numbers as a date.  It is not text
> but
> in number format.  How do I change this to make it read 11/23/2007
Newbee - 12 May 2008 19:04 GMT
This worked perfectly!!!

> If you want to go the formula route as Bob suggested, here is a slightly
> shorter alternative for you to consider...
[quoted text clipped - 7 lines]
> > but
> > in number format.  How do I change this to make it read 11/23/2007
 
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.