E
Excel NewB
Suppose I have the date January 3, 2005 in A1. How do I auto fill in
cells A2 thru A100 with the date of the first Monday of each month?
I have tried the following two formulas that I have found but they
only seem to calculate the first Monday of the current month.
Formula 1:
=IF(WEEKDAY(A1, 3)>0, 7-WEEKDAY(A1, 3), 0)+A1
Formula 2:
=DATE(YEAR(A1),MONTH(A1),CHOOSE(WEEKDAY(DATE(YEAR(A1),MONTH(A1),1)),2,1,7,6,5,4,3))
thanks in advance
cells A2 thru A100 with the date of the first Monday of each month?
I have tried the following two formulas that I have found but they
only seem to calculate the first Monday of the current month.
Formula 1:
=IF(WEEKDAY(A1, 3)>0, 7-WEEKDAY(A1, 3), 0)+A1
Formula 2:
=DATE(YEAR(A1),MONTH(A1),CHOOSE(WEEKDAY(DATE(YEAR(A1),MONTH(A1),1)),2,1,7,6,5,4,3))
thanks in advance