converting csv date/time fields to excel

Chigils

New Member
Joined
Aug 19, 2014
Messages
5
Good day everyone. My first post! I've downloaded a csv file from my companies ticketing system and need some help to make use of the data that is contained within it. I'd like to separate the date and the time into different fields. I've tried using the "left(text,[num_char]) function, but is appears that the file isn't reading the data in the existing filed as a date and a time. All suggestions welcome.[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Existing field[/TD]
[TD]what I want[/TD]
[TD]what I want[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]date (dd/mm/yy)[/TD]
[TD]time (24hr)[/TD]
[/TR]
[TR]
[TD]07/16/2014 09:06:00 PM[/TD]
[TD]16/07/14[/TD]
[TD]21:06[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Try

for the date
=(MID(A1,4,2)&"/"&LEFT(A1,2)&MID(A1,7,4))+0

for the time
=RIGHT(A1,11)+0
and format the cell as Custom with Type: hh:mm
 
Upvote 0
Special-K99. Like lightening! Time worked a treat, thank you. Date was not successful - I get '#VALUE'
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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