Zaigham
Board Regular
- Joined
- Dec 22, 2010
- Messages
- 159
- Office Version
- 2021
- Platform
- Windows
- Mobile
Hi
I have a table in which I have to calculate the age on next birthday of an employee at the time of his retirement. I can calculate actual age at the time of retirement but unable to calculate his age on next birthday if his date of retirement is a few days greater than his birthday.
Below mentioned table may be helpful to explain my problem.
I have a table in which I have to calculate the age on next birthday of an employee at the time of his retirement. I can calculate actual age at the time of retirement but unable to calculate his age on next birthday if his date of retirement is a few days greater than his birthday.
Below mentioned table may be helpful to explain my problem.
Excel Workbook | ||||
---|---|---|---|---|
A | B | |||
1 | Example # 1 | * | ||
2 | Date of Birth | 10.01.1970 | ||
3 | Date of Retirement | 09.01.2000 | ||
4 | Age on retirement | 30 | ||
5 | Age on next birthday | 30 | ||
6 | * | * | ||
7 | Example # 2 | * | ||
8 | Date of Birth | 10.01.1970 | ||
9 | Date of Retirement | 10.01.2000 | ||
10 | Age on retirement | 30 | ||
11 | Age on next birthday | 31 | ||
Sheet1 |