+ Reply to Thread
Results 1 to 5 of 5

Looking for formulas to extra date and time into 2 different columns

  1. #1
    Registered User
    Join Date
    04-14-2017
    Location
    Plymouth, minnesota
    MS-Off Ver
    2016
    Posts
    35

    Looking for formulas to extra date and time into 2 different columns

    I'm looking for formulas that will extract the date and time from column A in the sample attached and put them in to 2 different columns (E & F).
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Looking for formulas to extra date and time into 2 different columns

    For the date...
    =--LEFT(A2,FIND(" ",A2))

    for the time...
    =MID(A3,FIND(" ",A3)+1,99)

    Note that extracting the date this way generates a real date (as opposed to a text date), but the time is not real time, it is still text
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,593

    Re: Looking for formulas to extra date and time into 2 different columns

    Data ribbon > Text to Columns > Fixed width (set the split after the date) > MDY on the first column > Finish.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    04-14-2017
    Location
    Plymouth, minnesota
    MS-Off Ver
    2016
    Posts
    35

    Re: Looking for formulas to extra date and time into 2 different columns

    I'm looking for a way to do it without using text to columns. There is more data than just this one column.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Looking for formulas to extra date and time into 2 different columns

    Did you try my suggestion?

+ 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. Replies: 7
    Last Post: 06-19-2017, 06:10 PM
  2. Replies: 2
    Last Post: 03-24-2016, 11:49 PM
  3. Replies: 1
    Last Post: 06-05-2015, 06:57 AM
  4. [SOLVED] Convert Unix Date-time stamp to excel date and/or time columns
    By judikz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2015, 05:46 PM
  5. Time Sheet (Tie in extra spreadsheet to existing spreadsheet with formulas)
    By Eddie Elvis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-12-2013, 04:27 AM
  6. Replies: 8
    Last Post: 08-27-2012, 04:37 PM
  7. Replies: 2
    Last Post: 04-19-2012, 10:34 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