1. Open the excel document
2. Enter YEAR(TODAY())- in the cell where the age is to be calculated. MID(A2,7,4), where A2 is the cell of the ID number
3. After entering the calculation formula, press Enter to calculate the age
Recommended tutorial:excel tutorial
The above is the detailed content of How to calculate age based on ID card number in excel. For more information, please follow other related articles on the PHP Chinese website!