+ Reply to Thread
Results 1 to 5 of 5

Converting Dates from Text to Date Format

  1. #1
    Registered User
    Join Date
    09-16-2009
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    8

    Converting Dates from Text to Date Format

    Hi team,

    I have been sent a spreadsheet from an external source.

    The date is supplied to me in text format i.e. 2012-08-14 08:29:33.207

    I would like to convert this format to simply dd/mm/yyyy
    How do I go about doing this?

    TIA!
    Talan

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Converting Dates from Text to Date Format

    If you just want the date portion then you'll have to extract it to a new cell.

    This worked for me...

    A2 = 2012-08-14 08:29:33.207 (as a text string)

    This formula in B2:

    =--LEFT(A2,10)

    Format in the date style of your choice.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Converting Dates from Text to Date Format

    If, for example, the value is in cell A1, try: =INT(A1) and format as a date. Drag down as required.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    04-21-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Converting Dates from Text to Date Format

    I am new to this, but can't you go to the Numbers Formats on the home tab, and from drop down menu select "more Numbers Formats", then "Custom", and select a format you want?
    Last edited by Bil4646l; 04-21-2013 at 06:57 PM.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Converting Dates from Text to Date Format

    @bil4646l: if it is text, then no. Changing the format of the cell to Date won't make a difference. Hence the reason for forcing Excel to convert the cell to a number.

    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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