Nimmi Srivastav
2008-04-20 13:07:32 UTC
I am using the following formula to compute the week number based on
the ISO standard ISO8601:2000
=INT((B4-DATE(YEAR(B4-WEEKDAY(B4-1)+4),1,3)+WEEKDAY(DATE(YEAR(B4-
WEEKDAY(B4-1)+4),1,3))+5)
(http://msdn2.microsoft.com/en-us/library/bb277364.aspx)
As per this formula, 1/1/2009 should be week 1. However, as per my
Outlook calendar 1/1/2009 through 1/3/2009 show up as week 53. Can
someone kindly explain the discrepancy?
Thanks,
NS
the ISO standard ISO8601:2000
=INT((B4-DATE(YEAR(B4-WEEKDAY(B4-1)+4),1,3)+WEEKDAY(DATE(YEAR(B4-
WEEKDAY(B4-1)+4),1,3))+5)
(http://msdn2.microsoft.com/en-us/library/bb277364.aspx)
As per this formula, 1/1/2009 should be week 1. However, as per my
Outlook calendar 1/1/2009 through 1/3/2009 show up as week 53. Can
someone kindly explain the discrepancy?
Thanks,
NS