A tough problem

P

Patrick Simonds

I have a workbook with 4 Worksheets

June - August
September - November
December - February
March - May

Across the top of each worksheet I need the date of the 2nd and 4th Tuesday
of each month (June - August, September - November ect). Now I know I can
just sit down and enter this manually, but I want this to automatically
update depending on the year which I have entered in cell A1. I am at a loss
for how to do this, so any of you miracle workers out there have any ideas?
 
R

Ron Rosenfeld

I have a workbook with 4 Worksheets

June - August
September - November
December - February
March - May

Across the top of each worksheet I need the date of the 2nd and 4th Tuesday
of each month (June - August, September - November ect). Now I know I can
just sit down and enter this manually, but I want this to automatically
update depending on the year which I have entered in cell A1. I am at a loss
for how to do this, so any of you miracle workers out there have any ideas?

With the year in A1, (and Mnth=the number of the month) the second Tuesday of
any given month is given by the formula:

=DATE(A1,Mnth,15)-WEEKDAY(DATE(A1,Mnth,12))

The 4th Tuesday would be the above +14


--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top