How to Calculate the Age in MS Excel
- George Apostolov
This guide is an interactive LiveDemo. Create interactive demos of your own product: Interactive demo software · Interactive customer onboarding guides · Start free
How to Calculate the Age in MS Excel: step-by-step guide
Inside your Microsoft Excel worksheet, select a cell and then type an 'Equals' (=) sign.
Following that, type 'Trunc' and then select it from the suggested results.
Add the Yearfrac function next. Simply input 'Yearfrac' and choose it from the recommended matches.
After that, select the cell that contains the birthdate data and then insert a 'Comma' (,).
Type 'Today' and select it from the suggested results. End the first part of the formula with a closing parenthesis.
Proceed further by inserting a 'Comma' (,) and selecting '1 Actual/Actual' from the given options.
Once done, add two closing parentheses and then hit the 'Enter' or 'Return' key to finally process the results.
After completing these steps, the age will be calculated based on the selected data in your Microsoft Excel worksheet.
Quick answer: To calculate the age in Microsoft Excel, select a cell, type an equals sign, and enter the Trunc and Yearfrac functions. Next, select the birthdate cell, add a comma, type Today, close the parenthesis, add another comma, select 1 Actual/Actual, add two closing parentheses, and press Enter.
About this Excel tutorial
Calculate ages easily in Excel using the Trunc and Yearfrac functions combined with the Today command to process birthdate data. This guide shows how to calculate the Age in MS Excel in 8 steps, starting with "Inside your Microsoft Excel worksheet, select a cell and then type an 'Equals' (=) sign" and finishing with "After completing these steps, the age will be calculated based on the selected data in...". The interactive demo above is a click-through copy of the real Excel interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to calculate the Age in MS Excel?
8 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Excel data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Excel. Related guides: How to Calculate the Average in Microsoft Excel, How to Calculate the Mean in Microsoft Excel and How to Calculate Total in Microsoft Excel. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





