# Seven types of age calculation and how to do these using Excel

Home Forums Pension Seven types of age calculation and how to do these using Excel

Viewing 1 post (of 1 total)
• Author
Posts
• #5640

Calculation of Age On Last Birthday using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2, and into cell C2, put the formula =DATEDIF(A2,B2,”Y”)

Calculation of Age On Next Birthday using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2, and into cell C2, put the formula =DATEDIF(A2,B2,”Y”)+1

Calculation of Age In Years and Whole Months using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2.  Into cell C2, put the formula =DATEDIF(A2,B2,”Y”) and into cell D2, put the formula =DATEDIF(A2,B2,”YM”)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Calculation of Age In Years and Days using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2.  Into cell C2, put the formula =DATEDIF(A2,B2,”Y”) and into cell D2, put the formula =DATEDIF(A2,B2,”YD”)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Calculation of Age In Years, Months and Days using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2.  Into cell C2, put the formula =DATEDIF(A2,B2,”Y”) and into cell D2, put the formula =DATEDIF(A2,B2,”YM”) and into cell E2, put the formula =DATEDIF(A2,B2,”MD”)

Also;                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Calculation of Age On Nearest Birthday using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2, and into cell C2, put the formula =DATEDIF(A2,B2+183,”Y”)

The 183 whole days added to B2 in this formula are half of the average number of days in a year (365.2425 days), and so this calculation will, ON AVERAGE, be exact.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Calculation of Age In Years and Months (To The Nearest Month) using excel.  Put the date of birth into cell A2 and the relevant later date into cell B2.  Into cell C2, put the formula =DATEDIF(A2,B2+15,”Y”) and into cell D2, put the formula =DATEDIF(A2,B2+15,”YM”)

The 15 whole days added to B2 in these formulae are half of the average number of days in a month (365.2425 days divided by 12), and so these calculations will, ON AVERAGE, be exact.

Viewing 1 post (of 1 total)
• You must be logged in to reply to this topic.