M
murfitUK
Is this possible?
I have two cells which are filled in by choosing from drop-down lists. A1
is January, February etc and B1 is 2006, 2007 etc.
Once the user chooses the month & year I would like Excel to automatically
fill in some fields further down the sheet - showing the Friday dates in the
month/year chosen.
EG
Choosing March 2007 would give:
Friday 2
Friday 9
Friday 16
Friday 23
Friday 30
or August 2006 would give:
Friday 4
Friday 11
Friday 18
Friday 25
(and then a blank cell as only 4 Fridays in this month)
I can type "Friday" in as text in eg A15-A19 and then use conditional
formatting to hide the A19 Friday if there are only 4 Fridays in the month -
I will do this by turning the font colour to white if B19 is empty. That's
the easy part!
But... Is there any formula to calculate the day numbers to go into B15-B19?
All help/suggestion gratefully received.
Thanks.
I have two cells which are filled in by choosing from drop-down lists. A1
is January, February etc and B1 is 2006, 2007 etc.
Once the user chooses the month & year I would like Excel to automatically
fill in some fields further down the sheet - showing the Friday dates in the
month/year chosen.
EG
Choosing March 2007 would give:
Friday 2
Friday 9
Friday 16
Friday 23
Friday 30
or August 2006 would give:
Friday 4
Friday 11
Friday 18
Friday 25
(and then a blank cell as only 4 Fridays in this month)
I can type "Friday" in as text in eg A15-A19 and then use conditional
formatting to hide the A19 Friday if there are only 4 Fridays in the month -
I will do this by turning the font colour to white if B19 is empty. That's
the easy part!
But... Is there any formula to calculate the day numbers to go into B15-B19?
All help/suggestion gratefully received.
Thanks.