Converting Date and Time in Text String to Datetime format

beginner321

New Member
Joined
Dec 13, 2016
Messages
2
I have a spreadsheet with text strings representing dates and times. An example would be "Tuesday, January 1, 2012 9:02:01 PM". I need to convert this to the Datetime format. I'm wondering if someone can share ideas about how to do this.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try this...
=DATEVALUE(MID(F9,FIND(",",F9)+2,99))+TIMEVALUE(MID(F9,FIND(":",F9)-2,99))
then Format Custom dddd, mmmm, d, yyyy h:mm:ss AM/PM
 
Upvote 0
FDibbins:

Your proposed solution appears to work perfectly. Thank you very much for your assistance on this.

Beginner321
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,561
Members
449,038
Latest member
Guest1337

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