+ Reply to Thread
Results 1 to 2 of 2

change text data into regular date

  1. #1
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    change text data into regular date

    Hello. I have this text string: Apr 9, 2016 2:00:17 AM PDT. How can I change it to date? I don't care about the time part.

    Also, out of curiousity, what formula could I use to cut everything off after the date protion? I know I could use left and right but the problem is that the numbers of where left and right change based on the date and time. Thanks.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: change text data into regular date

    You can use something like below.

    =LEFT(A1,FIND("@",SUBSTITUTE(A1," ","@",3))-1)*1

    0.JPG

    Basically, SUBSTITUTE finds 3rd occurrence of space in a string, and replace with "@".
    FIND will determine # of characters to "@".
    Left(FIND-1) to extract date string.
    *1 is used to force text into numeric.

+ 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. change text data into regular date
    By stephme55 in forum Excel General
    Replies: 5
    Last Post: 01-27-2017, 11:15 PM
  2. SUMIFS where data source is regular Date format
    By rz6657 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-28-2016, 10:15 AM
  3. Not being able to change from bold to regular font
    By DClarkin in forum Excel General
    Replies: 1
    Last Post: 07-10-2013, 07:16 PM
  4. [SOLVED] to convert a julian date back to regular date
    By Lynn Hanna in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-26-2006, 10:20 AM
  5. Convert a julian gregorian date code into a regular date
    By Robert in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-13-2006, 02:10 PM
  6. [SOLVED] How do I change from all caps to regular for existing data?
    By CL Johnson in forum Excel General
    Replies: 1
    Last Post: 06-09-2005, 12:05 AM
  7. [SOLVED] Change Text Data to Date
    By Charles in forum Excel General
    Replies: 2
    Last Post: 04-26-2005, 04:06 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