View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dennis dennis is offline
external usenet poster
 
Posts: 202
Default Date in Text String

=IF(AA1782G1782,"Week Commencing " & TEXT($AA$3,"dd mmm yy"),0)

"AMH" wrote:

I ahve a formula that displays text and (hopefully) a date into a cell, based
upon some criteria :

=IF(AA1782G1782,"Week Commencing " & $AA$3,0)

Cell AA3 contains a date, however the formual is true in this case and the
text displayed is

Week Commencing 39643

The 39643 representing the date, how can I convert this to a true date
(should be 14 Jul 08) ?

Thanks