Date Time from text format to Date format

cbx1175

New Member
Joined
Nov 22, 2018
Messages
1
Not as easy as my google searches are showing me. I've been trying various =date, =datevalue, Text to columns to convert a text-based date/time originally saved in a CSV.

I'm trying to separate the time from the date so I can pick out blocks of time. So what I do either doesn't work or messes up with the AM/PM. I think I've started to look too much into it.

Link to file on my Google Drive so the bad formatting keeps - https://drive.google.com/open?id=1_fzDVWZINZSaq5v_4ZvoC2xzNKnePmMZ

[TABLE="width: 500"]
<tbody>[TR]
[TD]Original[/TD]
[TD][/TD]
[TD]Date[/TD]
[TD]Time[/TD]
[/TR]
[TR]
[TD]11/20/2018 4:34:50 PM[/TD]
[TD][/TD]
[TD]11/20/2018[/TD]
[TD]16:34:50[/TD]
[/TR]
</tbody>[/TABLE]

I have a list of just over 8800 lines to do.

Thank You
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi, welcome to Mr Excel,

If you just want to extract the time, try

Code:
[COLOR=#000000][FONT=-webkit-standard][TABLE="width: 350"]
<tbody>[TR]
[TD="class: xl63, width: 171, align: right"]20/11/2018 16:34[/TD]
[TD="width: 87"][/TD]
[TD="class: xl64, width: 92"]=MOD(A1,1)[/TD]
[/TR]
</tbody>[/TABLE]
[/FONT][/COLOR]
[COLOR=#000000][FONT=-webkit-standard][TABLE="width: 350"]
<colgroup><col width="171" style="width: 128pt;"><col width="87" style="width: 65pt;"><col width="92" style="width: 69pt;"></colgroup><tbody>[TR]
[TD="class: xl63, width: 171, align: right"]20/11/2018 16:34[/TD]
[TD="width: 87"][/TD]
[TD="class: xl64, width: 92, align: right"]16:34:50[/TD]
[/TR]
</tbody>[/TABLE]
[/FONT][/COLOR]

Format the cell with the formula as h:mm:ss
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top