How to get date of birth from ID number in Excel?
If you have a list of ID numbers which include the date of birth in each ID, how can you get the birthday from these ID numbers as below screenshot shown in Excel? Actually, you can use a formula to quickly extract the date of birth.
Supposing the ID number is shown as 7908050074059, and the first two numbers indicate birth year, the third and fourth numbers are the birth day, and then the following two numbers are the birth month, you can use this formula: =MID(A2,5,2)&"/"&MID(A2,3,2)&"/"&MID(A2,1,2), press Enter key, and drag fill handle down to fill cells with formula.
In the formula, you can change the reference to your need. For example, if the ID number shown as 797198909230072, the birthday is 19890923, you can change the formula to =MID(A7,8,2)&"/"&MID(A7,10,2)&"/"&MID(A7,4,4) to get the correct result.
If there is a list of birthdays, how can you get the ages from the birth dates? With Kutools for Excel, there is a utility can quickly calculate the ages based on dates.
|Kutools for Excel, with more than 300 handy functions, makes your jobs more easier.|
After free installing Kutools for Excel, please do as below:
1. Select a cell that you will place the age at, and click Kutools > Formula Helper > Calculate age based on birthday.
2. In the Formula Helper dialog, click to select the date you want to calculate age based on.
3.Click Ok, and then the age has been displayed, drag fill handle down to fill cells with the formula.