Strange Date Format 11/4/14, 1:09 PM will not convert to Excel Date Time due to comma placement

Rx_

Board Regular
Joined
May 24, 2011
Messages
52
A popular product has an Export to Excel with a single column for Date / Time.
The format shown has the date [comma] Time.
It won't convert to a Date date type due to the comma.

A popular software tool takes this data off of the internet and converts it to this text string.

I can manually use the Text to Columns to split this using the comma as the delimiter.
I am able to write a macro to remove the comma among other options.

I have failed to find a "custom" format that could convert this format to a Date Time.
The problem is: I want to enable people who don't have much Excel Skills to download and convert this column to a Date/Time field.

What would be the most simple way to remove the comma from this Date, Time string?


[TABLE="width: 123"]
<tbody>[TR]
[TD]
Code:
[TABLE="width: 123"]
<tbody>[TR]
[TD]Date / Time[/TD]
[/TR]
[TR]
[TD]11/4/14, 1:09 PM[/TD]
[/TR]
[TR]
[TD]11/4/14, 1:26 PM[/TD]
[/TR]
[TR]
[TD]11/4/14, 1:26 PM[/TD]
[/TR]
[TR]
[TD]11/4/15, 1:28 PM[/TD]
[/TR]
[TR]
[TD]11/4/16, 1:28 PM[/TD]
[/TR]
[TR]
[TD]11/4/17, 1:44 PM[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

This worked - Select Column - used Find And Replace - for Find enter a comma, for replace put in one space.
It replaced all of the columns. And now they become Time Date data types.

if anyone else has a better suggestion, please let me know.
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Select the column then use find-replace. Put , in the find box and leave the replace box blank (obviously match entire cell contents needs to be unchecked).
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

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