Basically, I'm trying to find a person's age as of any date based on the age they were on April first for insurance purposes.
So if looking at a person on 9/18/13 (today()) who was born on 5/1/83, they would be counted as the age of 29 NOT 30 because as of 04/1/13 they were still 29. Seems easy enough to write into a formula so I can record it into a macro but because I am not focusing on the year when I go to adjust their age it is not recognizing my MMDD as a date.
First I calculated their date as of today. (Today()-(DOBcell)/365.25
Then I wanted to say if they were born between the months of 04/01 and today subtract 1[/B]. This is where I am simply trying to say =if (and(the DOB>April 1, DOB<=Today()), Age-1, age)
The part that doesn't work is trying to find out if their birth month and date is less than or equal to today.
=IF(AND(MONTH(AB2)> MONTH(AA$1),MONTH(AB2)>=MONTH(AD$1),Z2-1,Z2)
Any ideas...I've tried everything but Excel is not able to tell me which is greater when only looking at a month and day and not a year. I may need to rethink this whole thing.
Thank you in advance!!!!!
Bookmarks