+ Reply to Thread
Results 1 to 4 of 4

Convert a Text String Date to Date Serial Number

  1. #1
    Registered User
    Join Date
    06-25-2015
    Location
    ireland
    MS-Off Ver
    2013
    Posts
    2

    Convert a Text String Date to Date Serial Number

    Hi,
    I run reports where I need to sort the Data by Due date, but the raw data that i get does not give me a date in a format that excel recognize,
    it comes up as follow:
    10-Apr-2015 11:59:59 PM UTC-04:00
    I cannot format this as a date, Excel does not recognize it
    Does anyone knows of a formula that would allow me to transform this to a date,
    any help, greatly appreciated, thanks

    Hervé

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Convert a Text String Date to Date Serial Number

    try ..

    =DATEVALUE(LEFT(A1,20))

    to give you the date

    OR

    =TEXT(LEFT(A1,20),"dd/mm/yyyy hh:mm:ss")
    Last edited by JohnTopley; 11-06-2015 at 08:08 AM.

  3. #3
    Registered User
    Join Date
    06-25-2015
    Location
    ireland
    MS-Off Ver
    2013
    Posts
    2

    Re: Convert a Text String Date to Date Serial Number

    Hi,

    Thanks, this worked, both solution are good.

    Sorry not to get back to you earlier, I was out of work, and did not turn my PC on for a few days.

    Thanks for the quick response
    Hervé

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Convert a Text String Date to Date Serial Number

    Thanks for the feedback.

    Can you please mark thread as SOLVED ("Thread Tools" at top of first post)

+ 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] Convert date string to serial number
    By amalfaro in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-21-2014, 01:36 PM
  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. Convert date and time in serial number format to text format
    By nda13112 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 02:45 PM
  4. Converting a date serial number back to a date within a string
    By bharris77 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2012, 01:15 PM
  5. [SOLVED] Extract fraction from text without converting to date serial number
    By adam2308 in forum Excel General
    Replies: 4
    Last Post: 10-04-2011, 07:29 AM
  6. Convert Serial Number to Date WITH TEXT
    By HP RodNuclear in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2010, 12:39 PM
  7. [SOLVED] Date to TEXT. NOT to sequential serial number
    By Gene in forum Excel General
    Replies: 2
    Last Post: 05-26-2006, 04:35 PM
  8. How do I convert Date serial number to date
    By rdunne in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2005, 11:06 AM

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