• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

convert date in Excel from 03021997 to dd-mmm-yyyy

breddi76

New Member
Dear all,


I have dates entered as eg: 3021997, 15122000..etc (i.e. day 03, 02 Month, Year 1997) I would like to know if there is any formula to convert to DD-MMM-YYYY. I tried every possible option such as copy n paste from notepad to excel and formatting cells, using text to columns option etc..


Could any one give any solution to this problem. I really appreciate your help.


Thanks in advance.
 
Hi !     Cell formula to convert (7 or 8 figures) cell G2 :    
Code:
=DATE(RIGHT(G2,4),MID(G2,LEN(G2)-5,2),MID(G2,1,LEN(G2)-6))

          Enjoy !
 
Hi Breddi,


Just little more in your enjoyment..


Code:
=DATEVALUE(TEXT(A1,"##-##-####"))


Regards,

Deb
 
Back
Top