How to Calculate Age in Excel in Dd/mm/yyyy

If you just need to calculate age in excel in dd/mm/yyyy and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: put the birth date in A2 and use =DATEDIF(A2,TODAY(),"Y") to return the completed age in whole years.

ƒxAge CalculatorLive
Age
35

35 years · 6 months · 17 days

Next birthday in 165 days · 12,984 days lived

=DATEDIF(A2,B2,"y")
=DATEDIF(A2,TODAY(),"Y")
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

DATEDIF measures the gap between a start date and an end date in the unit you ask for. With the birth date as the start, TODAY() as the end and "Y" as the unit, it returns the number of full years lived — the person's current age. Swap the unit to "M" for whole months or "D" for total days. DATEDIF is hidden from the function list but works in every Excel version and in Google Sheets. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “calculate age in excel in dd/mm/yyyy”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A2 holds the birth date 1990-06-15. In B2 type =DATEDIF(A2,TODAY(),"Y"). With today around 2026 the result is 35, because the person has completed 35 birthdays. You reach for DATEDIF whenever a report needs a live age from a birth date — staff records, customer profiles, eligibility checks — that recalculates as time passes. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “calculate age in excel in dd/mm/yyyy”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Formatting the result as a date, so 35 shows as a date instead of a number.
  • Using "Y" when you actually wanted months or days.
  • Putting the dates in the wrong order — start must be earlier than end or DATEDIF errors.
  • Hard-coding today's date instead of TODAY(), so the age never updates.

Frequently asked questions

Why is DATEDIF not in the function list?

It is undocumented but still works when you type it manually.

How do I get age in months or days?

Replace "Y" with "M" for whole months or "D" for total days.

Is there an alternative?

Yes. =YEARFRAC(A2,TODAY()) gives a decimal age you can round down with INT.

Other ways people ask this

This is also commonly searched as “how to calculate age in excel in dd mm yyyy” and “how to calculate age in excel in mm/dd/yyyy”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to calculate age in excel in dd mm yyyy”, “how to calculate age in excel in mm/dd/yyyy” all point at the one operation explained on this page, which is why they all lead here.