determine if first Thursday of month falls on first week of month

vinskies

New Member
Joined
Dec 13, 2017
Messages
3
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 not 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="class: cms_table, width: 372"]
<tbody>[TR]
[TD]breakdown explanation would be helpful

[TABLE="class: cms_table_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]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top