We need a formula for calculating years accurately when we compare a date with the date today – some examples would be:
- Age in years: Today() - date of birth, currently we use: =(TODAY() – DOB1) / 365.25 but it doesn’t always give the correct answer. The 365.25 is days in a year allowing for leap years, or
- Length of service in years: Today() – date joined, currently we use: =(TODAY() - [Started Work]1) / 365.25
Can anyone suggest a formula that works in all cases including where there are leap years in the intervening period?