I have a column with date formatted as "Sunday 13th October 2013". What would be the fastest way to convert this to a workable excel date format using formulas?
Thanks!
M
I have a column with date formatted as "Sunday 13th October 2013". What would be the fastest way to convert this to a workable excel date format using formulas?
Thanks!
M
if you want it to be, such as dd/mm/yyyy
=TEXT(A1,"dd/mm/yyyy")
Quang PT
To convert to an excel date,
=DATEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(A1,FIND(" ",A1)+1,LEN(A1)),"th",""),"rd",""),"st",""))
Rule 1: Never merge cells
Rule 2: See rule 1
"Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".
Audere est facere
Assuming your current data is text and not a formatted date, then with data in A2 try this formula in B2
=MID(REPLACE(A2,FIND(" ",A2,FIND(" ",A2)+1)-2,2,""),FIND(" ",A2)+1,99)+0
Format B2 in required date format
Thanks for the help! Modified it to this and works great:
=DATEVALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(F2,FIND(" ",F2)+1,LEN(F2)),"nd",""),"th",""),"rd",""),"st",""))
This formula also works for me
=MID(REPLACE(F2,FIND(" ",F2,11)-2,2,""),FIND(" ",F2)+1,99)+0
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks