#1   Report Post  
Posted to microsoft.public.excel.misc
ledzepe
 
Posts: n/a
Default Text to date format


Hi everyone,

In our system generated .CSV file, one column is the date in the format
of YYYYMMDD, for example 20060301.

I want to format this column to this date format, 3/1/2006, but I
can't. It just gives me a bunch of #'s. I copied the column to another
sheet but got the same result.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=517978

  #2   Report Post  
Posted to microsoft.public.excel.misc
Trevor Shuttleworth
 
Posts: n/a
Default Text to date format

ledzepe

if the text is in cell A9

=DATE(LEFT(A9,4),MID(A9,5,2),RIGHT(A9,2))

Regards

Trevor


"ledzepe" wrote in
message ...

Hi everyone,

In our system generated .CSV file, one column is the date in the format
of YYYYMMDD, for example 20060301.

I want to format this column to this date format, 3/1/2006, but I
can't. It just gives me a bunch of #'s. I copied the column to another
sheet but got the same result.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile:
http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=517978



  #3   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default Text to date format

Select the column you want to change.
Select Data-Text to columns
Select Delimited and click next
Click next again
Select Date and choose YMD
Click Finish

All cells in that column containing a number like 20060301 should now be
changed to a date like 3/1/2006.

"ledzepe" wrote:


Hi everyone,

In our system generated .CSV file, one column is the date in the format
of YYYYMMDD, for example 20060301.

I want to format this column to this date format, 3/1/2006, but I
can't. It just gives me a bunch of #'s. I copied the column to another
sheet but got the same result.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=517978


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Date format not correct when you convert a CSV text file in Excel Scarab Excel Discussion (Misc queries) 2 November 16th 05 12:22 PM
Date Format Problems?? nastech Excel Discussion (Misc queries) 5 November 14th 05 01:53 AM
MS Query Date Format scos00 Excel Discussion (Misc queries) 0 October 21st 05 04:58 PM
Date format within a text syntex? Brw Excel Worksheet Functions 2 January 26th 05 02:13 PM


All times are GMT +1. The time now is 09:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"