All give you some formulas to calculate dates, and use them according to your needs:
To calculate the first or last Monday of a month you need to calculate first the first and last day of the month. Example::
• Lets assume that on cell A2 there is a date, then
• On cell B2 calculate the FIRST day of the month with this formula:
=DATE(YEAR(A$2),MONTH(1),1)
• On cell B2 calculate the LAST day of the month with this formula:
=DATE(YEAR(A$2), MONTH(A$2)+1, 1)-1
• To Calculate the FIRST Monday of the month
=$B$2 + MOD( WEEKDAY($B$2, 3) +0, 7)
TIP: To calculate the first Tuesday, Wednesday,,,, Sunday add the weekday number that identifies the "name" of day you want to calculate:
0=Monday, 1=Tuesday, 2=Wednesday 3=Thursday, 4=Friday 5=Saturday, 6=Sunday, Example:
FIRST FRIDAY =$B$2+ MOD( WEEKDAY($B$2, 3) + 4, 7)
FIRST SUNDAY =$B$2+ MOD( WEEKDAY($B$2, 3) + 6, 7)
• Calculate the LAST Monday of the month
=$C$2 - MOD( WEEKDAY($C$2,3) - 0, 7)
LAST FRIDAY =$C$2 - MOD( WEEKDAY($C$2,3) - 4, 7)
LAST SUNDAY =$C$2 - MOD( WEEKDAY($C$2,3) - 6, 7)
Tip: To calculate all Mondays for a month, first find the first/last Monday and then just add 7 to the previous Monday until the date is greater than the last Monday
I hope this can help you