This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /MS Excel

How to Calculate the Age in MS Excel

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to compute someone's age from a birthdate using Excel formulas.

Quick summary

This tutorial shows how to calculate age in Microsoft Excel using the combined TRUNC and YEARFRAC formula. By referencing a birthdate cell and the TODAY function, Excel automatically returns the current age in whole years.


Steps

  1. Inside your Microsoft Excel worksheet, select a cell and type an Equals (=) sign to begin the formula.
  2. Type TRUNC and select it from the suggested results to add the TRUNC function.
  3. Add the YEARFRAC function by typing Yearfrac and choosing it from the recommended matches.
  4. Select the cell containing the birthdate data and insert a comma (,) to separate the arguments.
  5. Type TODAY and select it from the suggested results, then close the first part of the formula with a closing parenthesis.
  6. Insert a comma (,) and select 1 Actual/Actual from the available options to set the day-count basis.
  7. Add two closing parentheses and press the Enter key to process and display the calculated age.
  8. The age will now be calculated and displayed based on the selected birthdate data in your Excel worksheet.

📌 Why this matters

Calculating age from a birthdate in Microsoft Excel is a common requirement for HR teams, educators, and data analysts who manage people records. Using the TRUNC and YEARFRAC formula combination, Excel delivers an accurate age in whole years that updates automatically with the TODAY function — no manual recalculation needed. This approach is more reliable than simple subtraction methods because it correctly accounts for leap years and partial year fractions. Mastering this Excel age formula helps users automate data workflows and eliminate errors in age-dependent reporting and eligibility calculations.
Your product deserves an interactive demo
Start free
Similar Articles
MS Excel

How to Organize Dates by Week in Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make Cells Fit Text Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make a Bar Graph in Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it