Date calculation woes
Posted by Susan Lemieux on February 15, 2002 1:53 PM
I'm working on a spreadsheet which must calculate a person's age in years and months at a future date (e.g. 30 June 2002). If born on or before the 15th of the month we count a whole month. If born after the 15th we don't count the month.
e.g.
birthdate = 5 April 1942 then age at 30 June 2002 = 60yrs,3mons
birthdate = 16 Dec 1942 then age at 30 June 2002 = 59yrs,6mons
birthdate = 5 June 1942 then age at 30 June 2002 =
60yrs,1mon
birthdate = 16 June 1942 then age at 30 June 2002 =
60yrs
birthdate = 30 June 1942 then age at 30 June 2002 =
60yrs
Thanks in advance for all your help! All these conditions are driving me crazy.