Thank you for the formula. I had a question about it. It does work for 2016, but when entering 1/12017, it identifies the first Monday of the month to be 1/9/17, when it's actually 1/2/17. Am I misunderstanding the formula's intent? Meaning, should I enter a different date to pull the 1/2/17 date?
Thanks again for the help.
Thanks again for the help.
-
To post as a guest, your comment is unpublished.
-
To post as a guest, your comment is unpublished.It worked for me.. fo rFridays
A1= 06/01/2017 B1= 13/01/2017= IF(WEEKDAY(EOMONTH(A1,-1)+1)=6,EOMONTH(A1,-1)+1,EOMONTH(A1,-1)+(8 + MOD(6,7))-WEEKDAY(EOMONTH(A1,-1)+1))
20/01/2017 = IF(WEEKDAY(EOMONTH(B1,-1)+1)=6,EOMONTH(B1,-1)+1,EOMONTH(B1,-1)+(8 + MOD(6,7))-WEEKDAY(EOMONTH(B1,-1)+1))+7
27/01/2017=IF(WEEKDAY(EOMONTH(C1,-1)+1)=6,EOMONTH(C1,-1)+1,EOMONTH(C1,-1)+(8 + MOD(6,7))-WEEKDAY(EOMONTH(C1,-1)+1))+-
To post as a guest, your comment is unpublished.That doesn't help...
super weird..2017 is the only year that it skips the 1st monday.-
To post as a guest, your comment is unpublished.The formula doesn't work for Mondays if the last day of the previous month is a Saturday (weekday no 7). The following day is therefore a Sunday (weekday no 1) and you only need add 1 day to get to a Monday. However, the formula adds 10-1=9 days and gives you the 9th January as the first Monday. There needs to be a second IF function:
=IF(WEEKDAY(EOMONTH(A2,-1)+1)=1,EOMONTH(A2,-1)+2,IF(WEEKDAY(EOMONTH(A2,-1)+1)=2,EOMONTH(A2,-1)+1,EOMONTH(A2,-1)+(8+MOD(2,7))-WEEKDAY(EOMONTH(A2,-1)+1))) -
To post as a guest, your comment is unpublished.The formula doesn't work if the last day of the previous month is a Saturday (weekday no 7). The following day is therefore a Sunday (weekday no 1) and you only need add 1 day to get to a Monday. However, the formula adds 10-1=9 days and gives you the 9th January as the first Monday. There needs to be a second IF function:=IF(WEEKDAY(EOMONTH(A2,-1)+1)=1,EOMONTH(A2,-1)+2,IF(WEEKDAY(EOMONTH(A2,-1)+1)=2,EOMONTH(A2,-1)+1,EOMONTH(A2,-1)+(8+MOD(2,7))-WEEKDAY(EOMONTH(A2,-1)+1)))
-
To post as a guest, your comment is unpublished.
-
-