Calculating age in Excel is simple using the DATEDIF function, which calculates the difference between two dates in years, months, or days.
Сделать с помощью ИИPrepare your data
Ensure your birthdate is entered in a standard date format in a cell, for example, cell A2.
Enter the DATEDIF formula
Click on the cell where you want the age to appear and type the formula: =DATEDIF(A2, TODAY(), "y").
Press Enter
Press the Enter key to display the calculated age in years.
=DATEDIF(start_date, TODAY(), "y")DATEDIF is a 'compatibility' function and is intentionally hidden from the formula autocomplete menu, but it works perfectly in all versions of Excel.