
Signature
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email
It took me awhile but it works like a charm now!!
I kept what you gave me for the Start Date, Bday1 and Bday2. For the End
Date I play around with your formula for the Start Date, adding in the days
of the month formula you gave me and came up with the following...
=IF(ABS(DAY(B2))=14,DATE(YEAR(B2),MONTH(B2),DAY(DATE(YEAR(B2),MONTH(B2)+1,0))),DATE(YEAR(B2),MONTH(B2),DAY(13)))
So, if I enter a test date of 1/1/08, I get
Test Date 01/01/08
Start Date 01/14/08
End Date 01/31/08
Bday 1 07/07/48
Bday 2 07/24/48
If I enter a test date of 1/15/08, I get
Test Date 01/15/08
Start Date 02/01/08
End Date 02/13/08
Bday 1 07/25/48
Bday 2 08/06/48
It covers every day of each month for both the Start/End dates as well as
all birthdays witin those Start/End dates . Thanks again!!
> If A1 holds a date then =DAY(DATE(YEAR(A1),MONTH(A1)+1,0))
> tells how many days are in that month.
[quoted text clipped - 114 lines]
> >> >> >
> >> >> > Thanks in advance!!