Calculate age using YEARFRAC in Excel - Excel Tips and Tricks
E
ExcelTips247
13 Views • Jun 19, 2025
Description
Discover how to calculate age using your YEARFRAC function in Excel.
YEARFRAC is an Excel function that calculates the fraction of a year between two dates. By using this function, you can easily calculate a person's age in years, months, and even days. To calculate age, you simply need to subtract the person's birth date from the current date and divide the result by 365.25 (to account for leap years). This will give you the person's age in years with decimal places. You can then use the INT function to round down to the nearest whole number and obtain the person's age in years. Alternatively, you can use the DATEDIF function to calculate the number of complete years between two dates, but this function does not handle leap years as accurately as YEARFRAC.
Here are the steps outlined on the video.
1) =YEARFRAC(B3,TODAY())
2) Ctrl + 1
3) Number tab
4) Number
5) Decimal places set to 0
Calculate age using YEARFRAC in Excel,
yearfrac months,yearfrac today,yearfrac vs datedif,yearfrac,yearfrac not working,yearfrac google sheets,yearfrac basis,datedif excel,
YEARFRAC is an Excel function that calculates the fraction of a year between two dates. By using this function, you can easily calculate a person's age in years, months, and even days. To calculate age, you simply need to subtract the person's birth date from the current date and divide the result by 365.25 (to account for leap years). This will give you the person's age in years with decimal places. You can then use the INT function to round down to the nearest whole number and obtain the person's age in years. Alternatively, you can use the DATEDIF function to calculate the number of complete years between two dates, but this function does not handle leap years as accurately as YEARFRAC.
Here are the steps outlined on the video.
1) =YEARFRAC(B3,TODAY())
2) Ctrl + 1
3) Number tab
4) Number
5) Decimal places set to 0
Calculate age using YEARFRAC in Excel,
yearfrac months,yearfrac today,yearfrac vs datedif,yearfrac,yearfrac not working,yearfrac google sheets,yearfrac basis,datedif excel,
More from User
00:58
Filtering with merged cells - Excel Tips and Tricks
ExcelTips247
01:43
Vertical Calendar Template - Excel Tips and Tricks
ExcelTips247
00:55
Invoice Template In Excel - Excel Tips and Tricks
ExcelTips247
01:07
Hyperlink and the 255 character limit in Excel - Excel Tips and Tricks
ExcelTips247
00:54
Convert Number of Months Into Years and Months in Excel - Excel Tips and Tricks
ExcelTips247
03:23
Dynamic Dependent drop-down List in Excel for Horizontal List - Excel Tips and Tricks
ExcelTips247
Related Videos
00:58
How to Calculate the Weighted Average in Excel (Using the Function SUMPRODUCT) - Excel Tips and Tricks
ExcelTips247
00:41
Calculate commission using dynamic array in Excel - Excel Tips and Tricks
ExcelTips247
00:46
Calculate percentage in Excel using Quick Analysis - Excel Tips and Tricks
ExcelTips247
00:16
Calculate Expiry Date in Excel – Tips & Tricks You Need to Know | Calculate Expiry Date in Excel Like a Pro | Excel Tips and Tricks
Mr. EXCEL HACKS
00:51
One Smart Way To Calculate Total - SUMPRODUCT and ISFORMULA In Excel - Excel Tips and Tricks
ExcelTips247
00:53
How to Make Excel Formulas Calculate Automatically - Excel Tips and Tricks
ExcelTips247