+ Reply to Thread
Results 1 to 6 of 6

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

    I have Dec 1, 2016 1:45:23 AM PST but it is not being read as a date (and changing format with control 1 doesn't help). How can I fix this?

    Thanks

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: change text data into regular date

    What are you actually looking for as the date? Just Dec 1, 2016?
    HTH
    Regards, Jeff

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

    Re: change text data into regular date

    I was trying to write 1/1/2016 but I have a bunch of other text as well...that won't turn to dates.

  4. #4
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: change text data into regular date

    Hi Steph,

    This formula will give you the date - assuming the text string is in A1.
    =DATE(MID(A1,8,5),MONTH(1&LEFT(A1,3)),MID(A1,4,FIND(",",A1)-4))

    I hope this helps, please let me know!

    Regards,

    David

    If this has been helpful
    - Please click on the *Add Reputation button at the bottom left.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: change text data into regular date

    The easiest method could be to use Text to Column with a Fixed Width with the Step 3 of 3, format the first column as a date with MDY
    Attached Images Attached Images

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: change text data into regular date

    If I enter that string without the PST at the end, my copy of Excel will automatically recognize the date/time. Is the PST a critical part of the data entry?

    Along the same lines as jeffreybrown's use of Text to Columns, you could do the same thing, but put the column break between "AM" and "PST", and keep the date/time together as a single entry.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. 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
  2. how to convert date serial number to regular date?
    By union in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-21-2013, 10:15 PM
  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. 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
  5. [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
  6. how to convert julian date to regular calendar date
    By Ron in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-05-2005, 07:06 PM
  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