Hi ,
See the file now.
You need to do 2 things before you can use the formula , which is as follows :
=TEXT(IF(WORKDAY($E$1,1) - $E$1 = 2, $E$1 - WEEKDAY($E$1,1) + 9, $E$1 - WEEKDAY($E$1,1) + 2) + 7 * (ROW(A1) - 1), "mmm dd") & " - " & TEXT(IF(WORKDAY($E$1,1) - $E$1 = 2, $E$1 - WEEKDAY($E$1,1) + 9, $E$1 - WEEKDAY($E$1,1) + 2) + + 7 * (ROW(A1) - 1) + 4, "mmm dd")
1. The formula refers to E1 ; this cell is supposed to contain the start date , from where all the remaining dates will be derived.
Hence , if you want to have all the dates in the period July 2016 till October 2016 , you need to enter the start date of either July 1 , 2016 or which ever is the start date in JUly 2016 , in cell E1.
2. If you copy the above formula to any location , there is every possibility that Excel will change the highlighted reference , from A1 to something different.
You need to bring back the reference to A1 ; the start always has to be A1 , so that as you copy it down , it changes by a week each time , starting from the start date in E1.
If this reference changes from A1 to something else , then the starting week will be some random week.
Narayan