extract date from text
This formula will do what you want (providing there is always a space after
the dash and there is no period after the year)...
=--SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TRIM(MID(A1,
FIND(" ",A1,FIND("-",A1)+2),LEN(A1))),"rd",""),"nd",""),"st","")
--
Rick (MVP - Excel)
"Woodi2" wrote in message
...
I have the following text string in cell A1. Flight Schedule - Friday 28th
November 2008.
How can I extract the date from the text string and paste it in cell A2.
Thanks
|