+ Reply to Thread
Results 1 to 3 of 3

Reformat text string such as December 1 2014 to true dates

  1. #1
    Registered User
    Join Date
    02-17-2015
    Location
    St. Pete, FL
    MS-Off Ver
    2010
    Posts
    10

    Reformat text string such as December 1 2014 to true dates

    I have a spreadsheet where dates are true text strings such as February 25 2015 (no punctuation) and I want to reformat them to actual date formats so I can sort accordingly.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Reformat text string such as December 1 2014 to true dates

    Hi, welcome to the forum

    If you want to do this to the column that the dates are in...
    Highlight the range
    click Text2Columns on the Data tab
    select delimited/Next/Next
    select Date and change format if needed
    click Finished

    If you want to do this in a helper column, assuming your date is in A1...
    =DATEVALUE(LEFT(A1,SEARCH(" ",A1,SEARCH(" ",A1,1)+1)-1))
    copied down
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Reformat text string such as December 1 2014 to true dates

    Or this

    =SUBSTITUTE(TRIM(MONTH(1&LEFT(A1,3))&" "&RIGHT(A1,7))," ","/")+0

    format cell as Date
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Possible solution for December 2014 update that effected many macros
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2014, 10:56 AM
  2. December 2014 Excel Update
    By Lonney in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-20-2014, 07:17 PM
  3. Form Controls broken by December 2014 security updates
    By Olly in forum Tips and Tutorials
    Replies: 1
    Last Post: 12-15-2014, 07:14 PM
  4. search for word in string of text = true or false?!
    By cashflowpro in forum Excel General
    Replies: 2
    Last Post: 02-26-2008, 03:50 PM

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