Results 1 to 2 of 2

Formula for return date/time from text in cell.

Threaded View

  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    United States
    MS-Off Ver
    2007
    Posts
    6

    Formula for return date/time from text in cell.

    Hello All,

    I was struggling with this for some time and after some help on a post I was able to come up with this formula "=(DATEVALUE(LEFT(XX,10)))+(TIMEVALUE(MID(XX,12,5)))" where "XX" is the cell in reference. I've come across many other forums with people asking the same thing and this, to me, seems to be the simplest answer. What this will do is return text that is copied in from this format "2014/11/20 11:53 EST" and turn it in to a Date/Time format so it can be sorted oldest to newest. It works with short date/long date and if you want the time just format the cell to display time and it will show. Hope this helps anyone who goes searching around like I did.

    Thanks!
    Last edited by LuckoftheLefty; 11-26-2014 at 03:43 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 02-10-2014, 01:40 PM
  2. Replies: 6
    Last Post: 08-21-2013, 07:40 PM
  3. Need help with a date comparison formula - Return text based on result
    By kcleere in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2013, 03:58 PM
  4. [SOLVED] Excel 2007 : formula to return text value from a date range
    By Bootkie2 in forum Excel General
    Replies: 6
    Last Post: 09-08-2011, 06:35 AM
  5. formula to return # hrs after time a day/date condition
    By adhide in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2009, 07:55 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