Hi!
Here's one way. This will return all the specific weekday dates between 2
dates (inclusive).
Enter the date span that you want to use in 2 cells. Since you only want a
specific month a very simple formula is used to calculate the end of the
month: B1 will be 8/31/2005
A1 = 8/1/2005
B1 = formula
=DATE(YEAR(A1),MONTH(A1)+1,0)
You can also use a cell to hold the number of the weekday you're interested
in:
C1 = 3 (where Monday = 1, Tuesday = 2, ...... Sunday = 7)
Entered as an array using the key combo of CTRL,SHIFT,ENTER:
=IF(ISERROR(SMALL(IF(WEEKDAY(ROW(INDIRECT($A$1&":"&$B$1)),2)=C$1,ROW(INDIRECT($A$1&":"&$B$1))),ROW(1:1))),"",SMALL(IF(WEEKDAY(ROW(INDIRECT($A$1&":"&$B$1)),2)=C$1,ROW(INDIRECT($A$1&":"&$B$1))),ROW(1:1)))
Copy down 5 cells (the most you'll need for a single month) and format as
DATE.
There's a shorter formula floating around out there that will return the
date for the nth weekday that might also be used for this. I saw it just the
other day. Maybe someone will chime in with that. 'Til then, the above
works!
Biff
"Week Dates from nth day of week" <Week Dates from nth day of
(e-mail address removed)> wrote in message
news:
[email protected]...