+ Reply to Thread
Results 1 to 4 of 4

converting text into a date format

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    14

    converting text into a date format

    Hi,
    I have a problem conveting data into a date format. When i download date form a source, it gives me date information as "20121114". And when i change this into "11142012", it is still not recognized as date. I appreciate if anyone could me on this. Thank you

    Best
    Emre

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: converting text into a date format

    Hi Emre

    Try separating your date with / or -. Or a function: =MID(A1,5,2)&"/"&RIGHT(A1,2)&"/"&LEFT(A1,4) assuming your date is in A1.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,706

    Re: converting text into a date format

    in a new column try this assuming your original date is in cell A3

    =DATE(LEFT(A3,4),MID(A3,5,2),RIGHT(A3,2))
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    11-07-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: converting text into a date format

    thanks a lot. appreciated that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1