View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Fred Smith[_4_] Fred Smith[_4_] is offline
external usenet poster
 
Posts: 2,389
Default Convert Text to Date Month and Year

Use:
=date(right(a1,2),left(a1,2),1)
and format as: mmm-yy or mmmm yyyy

Regards,
Fred

"Excellency" wrote in message
...
Hi

I have a cell for example that displays 03/07 as a text field for month
and
year. I want it converted to date field to display as = mar-07 or march
2007.
when I use format or text function it converts to 03/07/2010. I dont want
to
have the current year display instead it should display 2007.