# Natali frolova on dating sites The TODAY function supplies the date to calculate age at, ensuring that your formula will always return the correct age.   Given the above, you'd better save this way of calculating age for normal life, and use one of the following formulas to calculate age from date of birth in Excel.I'm going to demonstrate just a couple of formulas, which in my opinion are easiest to understand. Since February has 29 days in leap years, we calculate the number of days in month 2 of a given year and compare it with number 29.For example: day of March in the year 2015, from which we subtract 1.Assuming the date of birth is in cell B2, the complete formula goes as follows: year is a leap year that contains 366 days, whereas the formula divides the number of days by 365.So, if someone was born on February 29 and today is February 28, this age formula will make a person one day older.We use one DATE function to return 1-Jan of the next year, another DATE function to get 1-Jan of this year, subtract the latter from the former and check if the difference equals to 366: Where A2 is a cell containing the date.

And naturally, you can enclose the above DATE / YEAR formula in the IF function for it to return something more meaningful than the Boolean values of TRUE and FALSE: As already mentioned, these are not the only possible ways to calculate leap years in Excel.

In other words, you can have full dates stored in cells, but only the years displayed. You just open the Please remember that this method does not change the original date, it only changes the way the date is displayed in your worksheet.

If you refer to such cells in your formulas, Microsoft Excel will perform date calculations rather than year calculations.

You can find more details about changing the date format in this tutorial: How to change date format in Excel.

There are several ways to calculate age form date of birth in Excel - using DATEDIF, YEARFRAC or INT function in combination with TODAY().

I thank you for reading and look forward to seeing you next week.