Convert text date to excel date format

Cyankee

New Member
Joined
Nov 20, 2011
Messages
28
Yes, based on the title, it is simple. I have done it numerous times. The problem I am having is this:

I copy data over as text. Copy and paste. I can then pull the date out of the text and get it into a separate cell. The problem is the date format. It is in the form of MMM DDth (or nd, rd).
Example: Date is AUG 29th. Left justified and is text. The functions "Value" and "datevalue" deliver "#value" errors.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Custom format to your preference

Date and Time 3.xlsm
AB
1year2020
2AUG 29thAug 29, 2020
3
1b
Cell Formulas
RangeFormula
B2B2=DATE(B1,MONTH(1&LEFT(A2,3)),MID(A2,5,2))
 
Upvote 0
If mmm dd, yyyy is a date format in your locale, then you can also use this formula...

=0+REPLACE(A2,7,2,", "&B1)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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