View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
andy62 andy62 is offline
external usenet poster
 
Posts: 158
Default Calulating week # & Day #

If your data is in cell A1 (adjust for actual), these functions should do
what you need:

=WEEKDAY(A1,2)
=WEEKNUM(A1)

I believe the second one might be part of the AnalysisPack, which you might
be prompted to install (from the disks?)

HTH

"bj" wrote:

I wonder if any of you could advice me on which function(s )to use to get
the week number,
& day number of a given date.


eg) if the date is, say 11-Jan-2007.
then the day # is 4 ( Thursday)
week # is 2 ( 2nd week in the year).

Please help
Regards
Bernard