Hey Guys,
I'm trying to output the dates of the weeks (Monday to Sunday) of any month given the following criteria:
First week of month is if the first Thursday falls on the first week of the month.
and correspondingly the last week if the next month's first Thursday falls on the first week of the next month.
Ultimately I just want to output the week dates of a "month".
And not show the week that does meet meet the criteria to be included for the month.
D4 is =(DATE(year,month number,3))- WEEKDAY(DATE(year, month number, 2),2)
all other formulas follows: eg.
D5 is >> =J52+1
E5 is >> =I53+6
[TABLE="width: 372"]
<tbody>[TR]
[TD]
breakdown explanation would be helpful
[TABLE="class: grid, width: 372"]
<tbody>[TR]
[TD][/TD]
[TD]2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MARCH[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Week (Monday to Sunday)[/TD]
[TD] week no.[/TD]
[/TR]
[TR]
[TD]2-Apr-18[/TD]
[TD]8-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]09-Apr-18[/TD]
[TD]15-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16-Apr-18[/TD]
[TD]22-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]23-Apr-18[/TD]
[TD]29-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30-Apr-18[/TD]
[TD]6-May-18[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to output the dates of the weeks (Monday to Sunday) of any month given the following criteria:
First week of month is if the first Thursday falls on the first week of the month.
and correspondingly the last week if the next month's first Thursday falls on the first week of the next month.
Ultimately I just want to output the week dates of a "month".
And not show the week that does meet meet the criteria to be included for the month.
D4 is =(DATE(year,month number,3))- WEEKDAY(DATE(year, month number, 2),2)
all other formulas follows: eg.
D5 is >> =J52+1
E5 is >> =I53+6
[TABLE="width: 372"]
<tbody>[TR]
[TD]
breakdown explanation would be helpful
[TABLE="class: grid, width: 372"]
<tbody>[TR]
[TD][/TD]
[TD]2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MARCH[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Week (Monday to Sunday)[/TD]
[TD] week no.[/TD]
[/TR]
[TR]
[TD]2-Apr-18[/TD]
[TD]8-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]09-Apr-18[/TD]
[TD]15-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16-Apr-18[/TD]
[TD]22-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]23-Apr-18[/TD]
[TD]29-Apr-18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]30-Apr-18[/TD]
[TD]6-May-18[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]