Hi I need to set work weeks starting on the first Monday after Feb 27th 2012. So the week commencing 27th would be seen as WW 1. The formula below was posted by Daddylonlegs here:
http://www.excelforum.com/excel-gene...html?p=2814016
Here's the code:
Cell x3 contains the current date, which the formula will then calculate the week number for.
In this case, the first week was the First Monday on or after 28th June, with the relevant fiscal year being July 1st onwards ? Sorry, but I'm not very good with excel date logic. Would anyone be able to describe to me what the key parts of the formula are doing? I can understand that the first part is establishing what day of the week the date in X3 is, but after that, I'm stumped. I thought that the X3+188 might relate to the number of days after Jan 1st, the fiscal date (July 1st in the example) might be, in conjunction with the 6,20 being 20th June, but when I change these values, the formula breaks. Any help would be appreciated. Any help would be appreciated.
Thanks
Bookmarks