For Sun, 12/29/02, Mon, 12/30/02, and Tue, 12/31/02, the WEEKNUM() worksheet function is returning 53 instead of 1. The dates for the rest of this week are all returning a 1.
To compensate for this, I have the following:
=IF(WEEKNUM(A1)=53,1,WEEKNUM(A1))
but I have to go through and change all of the cells that have WEEKNUM() to have the above conditional.
Is there already a recommended way to do this? Or, is there a way, perhaps, to override the WEEKNUM() worksheet function with my own version of WEEKNUM()?
Thanks...
To compensate for this, I have the following:
=IF(WEEKNUM(A1)=53,1,WEEKNUM(A1))
but I have to go through and change all of the cells that have WEEKNUM() to have the above conditional.
Is there already a recommended way to do this? Or, is there a way, perhaps, to override the WEEKNUM() worksheet function with my own version of WEEKNUM()?
Thanks...