Hi John,
Stew's formula is fine IF you have a version of Excel which has the WEEKNUM function. My version, Excel 97, does not.
I therefore offer up the following formula for those Excel users who do NOT have such a WEEKNUM function:
=MIN(52,INT((A1-DATE(YEAR(A1),1,1))/7)+1)
Note: As every year has slightly more than 52 weeks, the MIN function effectively assigns the extra day (2 days in the case of a leap year) to the last week of the year.
I hope this is helpful.
If you have any problem or question, please let me know.
Regards, ...Dale Watson dwatson@bsi.gov.mb.ca