Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RobertM
 
Posts: n/a
Default Converting a date from nonsense to sense

How do I convert this date "060426" to "4/26/2006"
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary Brown
 
Posts: n/a
Default Converting a date from nonsense to sense


Assuming the 060426 is in cell A1, type the following formula:-

=DATE(20&LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

Then format this cell with a format M/DD/YYYY


--
Gary Brown
------------------------------------------------------------------------
Gary Brown's Profile: http://www.excelforum.com/member.php...o&userid=17084
View this thread: http://www.excelforum.com/showthread...hreadid=535499

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
converting date to number Todd Excel Worksheet Functions 9 September 3rd 06 01:33 AM
Converting to date format ahaigh Excel Discussion (Misc queries) 1 March 13th 06 06:54 PM
converting julian day and year to a date? Chad Nordberg Excel Worksheet Functions 1 February 27th 06 10:23 PM
Can stop excel from converting value to date? desmond New Users to Excel 3 September 21st 05 01:36 PM
Recurring annual events using a specific date as a trigger date Bamboozled Excel Worksheet Functions 1 June 6th 05 01:44 PM


All times are GMT +1. The time now is 01:32 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"