Thread: Date Conversion
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scoops Scoops is offline
external usenet poster
 
Posts: 108
Default Date Conversion


MIchel Khennafi wrote:
Good morning Gurus

I have a cell into which the following string is entered "14FEB2005"... This
is a value extracted from a file. This is currently being handled as a text
by Excel. What could be the formula I need to transform this value into a
date like "14-feb-2005" and have it treated like a real date?

I tried to use Date (mid(),mid(),mid()).. but got an error for the month
conversion... Any other suggestion?

Thanks a lot

Michel


Hi Michel

Not that it's any better than the other posts but also:

=DATEVALUE(D3)

Regards

Steve