View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Date format in string

Consider using TEXT():


="Week Beginning: " & TEXT(TODAY()+4,"dd/mm/yyy")
will display as:
Week Beginning: 14/05/2006

--
Gary''s Student


"Adam Thwaites" wrote:

I have this code:
="Week Beginning " & Date-WEEKDAY(Date,3)
which I can't stop coming out as:
Week Beginning 38719

I tried:
="Week Beginning " & format((Date-WEEKDAY(Date,3)),"dd" & "/" & "mm" & "/" &
"yyyy")
but that just comes up as #NAME

Any suggestions?
--
Adam Thwaites
Access Database Designer

Manchester, UK