+ Reply to Thread
Results 1 to 5 of 5

Date & Time Extraction in seperate columns Excel formula required

  1. #1
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Bangalore
    MS-Off Ver
    MS 365
    Posts
    151

    Date & Time Extraction in seperate columns Excel formula required

    Hi All,

    Attached is the file which i have got a interval time which comes in the format as given in Column A.

    I need excel formula which captures date & time from this cell into a separate column which i have shown in Columns highlighted in yellow.

    Please can someone help me with a formula which does this action?

    Regards,
    Yadavagiri

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Date & Time Extraction in seperate columns Excel formula required

    with Power Query

    StartInterval Date Time
    2022-09-13T13:30:00.000+02:00
    13/09/2022
    13:30:00
    2022-09-13T10:00:00.000+02:00
    13/09/2022
    10:00:00
    2022-09-13T11:00:00.000+02:00
    13/09/2022
    11:00:00
    2022-09-13T14:30:00.000+02:00
    13/09/2022
    14:30:00
    2022-09-13T16:30:00.000+02:00
    13/09/2022
    16:30:00
    2022-09-13T11:30:00.000+02:00
    13/09/2022
    11:30:00
    2022-09-13T09:30:00.000+02:00
    13/09/2022
    09:30:00
    2022-09-13T09:30:00.000+02:00
    13/09/2022
    09:30:00
    2022-09-13T08:30:00.000+02:00
    13/09/2022
    08:30:00
    2022-09-13T08:30:00.000+02:00
    13/09/2022
    08:30:00
    2022-09-13T08:30:00.000+02:00
    13/09/2022
    08:30:00


    Please Login or Register  to view this content.

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

    Re: Date & Time Extraction in seperate columns Excel formula required

    You can use this formula for the date in C2:

    =DATE(LEFT(A2,4),MID(A2,6,2),MID(A2,9,2))

    and this one for the time in D2:

    =--MID(A2,12,8)

    Format both cells in the style you wish to see, then copy down as required.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    12-16-2015
    Location
    Bangalore
    MS-Off Ver
    MS 365
    Posts
    151

    Re: Date & Time Extraction in seperate columns Excel formula required

    Thank You Sandy and Pete for the update.
    both worked for me. Very much appreciated.
    i also tried some work from my end and was able to fix from my end too but will use all the ways
    attached the file highlighted in green my working

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

    Re: Date & Time Extraction in seperate columns Excel formula required

    Glad to have helped, and thanks for the rep.

    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. [SOLVED] PowerQuery - Date and Time extraction
    By Yadavgiri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-21-2022, 02:50 AM
  2. Replies: 1
    Last Post: 06-14-2019, 05:46 AM
  3. Replies: 7
    Last Post: 06-07-2015, 10:13 AM
  4. Replies: 1
    Last Post: 06-05-2015, 06:57 AM
  5. Replies: 5
    Last Post: 03-11-2011, 05:28 PM
  6. Splitting Date & Time into two seperate columns
    By mccrimmon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2008, 08:42 AM
  7. Replies: 3
    Last Post: 08-18-2007, 01:59 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