converting a text date to actual date

fasullo

New Member
Joined
Aug 7, 2013
Messages
27
In Cell A1 I have the text: As of March 1, 2014
In cell A2 I need a formula that obtains the result: 3/1/2014

Looking for a simple formula.

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
When I type "March 1, 2014" in a cell, it automatically recognizes it as a date. Maybe you are using a text format, cant you change it to date format from "Format Cells"?
Or am i missing something here?
 
Upvote 0
When I type "March 1, 2014" in a cell, it automatically recognizes it as a date. Maybe you are using a text format, cant you change it to date format from "Format Cells"?
Or am i missing something here?

the text is "As of March 1, 2014"
w/o the quotation marks.
 
Upvote 0
Maybe this:

Code:
=TEXT(VALUE(A1),"m/d/yyyy")
 
Upvote 0
did you tried it with long month like December since you just have 13 characters.

=TEXT(VALUE(MID(A1,FIND("As of",A1)+5,20)),"m/d/yyyy")+0

EDIT:

or delete first 5 characters
=RIGHT(A1,LEN(A1)-6)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,566
Messages
6,125,593
Members
449,237
Latest member
Chase S

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