+ Reply to Thread
Results 1 to 4 of 4

Datetime text to Datetime Date

  1. #1
    Forum Contributor
    Join Date
    08-27-2014
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    100

    Datetime text to Datetime Date

    Hi

    I am having troubles converting data in column A to datetime. I tried using datevalue function, value function, text to column to no luck. I also tried adding number to A2 (=A2+0) in hope that will convert it to number but that didnt work.
    I also tried some formulas I found online but all I keep getting is #VALUE! error.

    Can anyone explain what I am doing wrong please.

    Thanks
    Attached Files Attached Files

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

    Re: Datetime text to Datetime Date

    I did not have any trouble using text to columns to convert those to date numbers. If I had to guess, I would suspect that your computer system is set to a DMY default, that prevents Excel from automatically recognizing the date portion of the time stamp. Try using Text to columns again. At the appropriate step, be sure to explicitly specify MDY as the input date type to override any default system settings that Excel might be using.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    08-27-2014
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    100

    Re: Datetime text to Datetime Date

    you were right. I had to change date format on my Windows 10 machine. Thank you

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Datetime text to Datetime Date

    Text io columns-->Next--->Space--->Finish
    Text io columns-->Next--->Next--->DMY--->Finish
    Attached Files Attached Files

+ 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. Count If Start Datetime and End Datetime is less than 30 seconds
    By crappygeezer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-23-2017, 07:48 AM
  2. [SOLVED] Move all files in a folder to a new folder it datetime less the latest datetime
    By capson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-02-2016, 10:31 AM
  3. Converting DateTime to Date
    By tangmere.milli in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2016, 10:38 AM
  4. [SOLVED] Datetime to date and time
    By mdek in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-08-2016, 03:40 PM
  5. if statement for datetime value between two other datetime values
    By OSepulvedaIII in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2016, 10:37 AM
  6. Converting Datetime in text to date format
    By alexmat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-14-2014, 10:07 AM
  7. Based on a Column datetime value auto calculate and populate a datetime range
    By rajashanmuga in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2010, 04:10 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