+ Reply to Thread
Results 1 to 5 of 5

Convert text-formatted date to regular date

  1. #1
    Registered User
    Join Date
    08-03-2017
    Location
    Winnipeg, Canada
    MS-Off Ver
    2016
    Posts
    2

    Convert text-formatted date to regular date

    Good afternoon,

    Does anyone know a formula that I can use to convert a text-formatted date? The date come across as general format with the following format: Jul 27 2017 09:43PM. I tried the valuedate formula but it does not seem to be working

    Thanks,

    Jorge

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Convert text-formatted date to regular date

    Do you want to retain the time information as well, or just the date?

    If you only want the date then you can use this in B1, assuming the text string is in A1:

    =DATEVALUE(LEFT(A1,11))

    Format as a date in the style you prefer.

    IF you want the time in C1, you can use this:

    =--(LEFT(RIGHT(A1,7),5)&":00") + IF(RIGHT(A1,2)="PM",0.5,0)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-28-2015
    Location
    Melbourne, AUS
    MS-Off Ver
    2011
    Posts
    59

    Re: Convert text-formatted date to regular date

    =date(mid(a1,8,4),month(left(a1,3)&"-1"+0),mid(a1,5,2))
    Last edited by mrshl9898; 08-03-2017 at 05:34 PM.

  4. #4
    Registered User
    Join Date
    08-03-2017
    Location
    Winnipeg, Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: Convert text-formatted date to regular date

    It worked. Thank you!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Convert text-formatted date to regular date

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. 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
  2. [SOLVED] How to convert Julian Date to regular excel date
    By Drehb4life in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-19-2013, 10:25 AM
  3. Convert Julian date/ time to regular date/ time (MM/DD/YYYY HH:MM:SS)
    By dataguy30 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-07-2013, 11:33 AM
  4. 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. [SOLVED] 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. How do I convert a julian date to a regular date?
    By tamtec99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2006, 02:40 AM
  7. [SOLVED] 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

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