Text to columns not separating date and time

bchez

Board Regular
Joined
May 19, 2014
Messages
55
01/18/2019 5:30 AM

<tbody>
</tbody>
I need to separate the date from the time using text to columns. Here's the original above in the leftmost column. The data is in Custom number format mm\dd\yyyy h\mm AM/PM
When I use text to columns delimited here is how it splits out (I will just show you the first row)
01/18/2019 12:00 AM in column A
01/00/1900 5:30 AM in column B
As you can see it keeps the date and time together but changes the time to 12:00 AM in column A and puts yet again another date and time in column B as 01/00/1900 5:30 AM
The net result is the correct date in col A and the correct time in col B but it won't split the date from the time. I need the date in one column and the time in another column.
Any ideas without using VBA? Thank you
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
after text2columns format col A as short date and col B as time (or Custom Format: h:mm AM/PM)
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,199
Members
449,072
Latest member
DW Draft

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