• 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.

Data Dumps and Formatting

Ksandra2901

New Member
Hi All,


I'm hoping this is pretty simple to fix.


I have a data dump which is showing the date as 20120603. Obviously Excel is seeing it as one big number and so I can't format it as a date.


Is there a simple way to convert it into a date format? DD/MM/YYYY?


K
 
Assuming that date was June 3rd, 2012, helper column with this formula should help:

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


If it was March 6, 2012, this formula:

=DATE(LEFT(A2,4),RIGHT(A2,2),MID(A2,5,2))
 
Back
Top