Skip to main content
Calculate Age From Date Of Birth
Calculate Age From Date Of Birth
Exact Age Calculator

Technical & Developer Tools

Google Sheets Age Formula Generator

Generate cloud spreadsheet formulas for birth-date age tracking.

Google Sheets Age Formula Generator Inputs

Return

The code returns for the sample26

Generated code
=DATEDIF(A2,TODAY(),"Y") Whole column: =ARRAYFORMULA(IF(A2:A="",,DATEDIF(A2:A,TODAY(),"Y")))
Step-by-step working
  1. Sample: 2000-03-10 → 2026-11-29
  2. Expected result: 26

What Is the Google Sheets Age Formula Generator?

A Google Sheets Age Formula Generator is a tool that writes Google Sheets formulas that compute age from birth dates, including ARRAYFORMULA versions for whole columns.

Google Sheets supports DATEDIF with the units "Y", "M", "D", "MD", "YM" and "YD". ARRAYFORMULA applies 1 formula to a whole column, so new rows get an age with no copying.

Sheets recalculates TODAY() as the sheet opens and on edits, so ages stay current in shared sheets.

How Does the Google Sheets Age Formula Generator Work?

The Google Sheets Age Formula Generator works by filling the chosen column references into DATEDIF and ARRAYFORMULA templates.

  1. Enter the birth date column: Type the column, such as A, and the first data row, such as 2.
  2. Choose the reference: Use TODAY() or a fixed date cell such as $E$1.
  3. Choose single or column mode: Single-cell formulas fill down; ARRAYFORMULA fills the column.
  4. Paste the formula: Paste it into the first age cell.

Google Sheets Age Formula Generator Formula

The column-wide Google Sheets age formula is =ARRAYFORMULA(IF(A2:A="",,DATEDIF(A2:A,TODAY(),"Y"))).

=ARRAYFORMULA(IF(A2:A="",,DATEDIF(A2:A,TODAY(),"Y")))

  • =DATEDIF(A2,TODAY(),"Y") → single cell
  • =DATEDIF(A2,TODAY(),"Y")&"y "&DATEDIF(A2,TODAY(),"YM")&"m" → years and months text
  • =DATEDIF(A2,TODAY(),"YD") → days since the last birthday
Variables in the Google Sheets Age Formula Generator formula
SymbolMeaning
A2:AOpen-ended range from row 2 to the end of column A
IF(A2:A="",,…)Leaves rows with no birth date blank
"YD"Days after the last birthday

Google Sheets Age Formula Generator Example

Column A holds birth dates from row 2. Cell E1 holds 2026-11-25. Write a column formula for ages on E1.

  1. =ARRAYFORMULA(IF(A2:A="",,DATEDIF(A2:A,$E$1,"Y")))
  2. A2 = 2000-03-10 → 26

The formula fills every row that has a birth date with the completed age on E1.

Google Sheets Age Formula Generator Conversion Table

The table lists 6 Google Sheets formulas and their results for a birth date of 2000-03-10 and a reference date of 2026-11-25:

Google Sheets age formulas and results for A2 = 2000-03-10, E1 = 2026-11-25
FormulaReturnsResult
=DATEDIF(A2,$E$1,"Y")Completed years26
=DATEDIF(A2,$E$1,"YM")Months after last birthday8
=DATEDIF(A2,$E$1,"YD")Days after last birthday260
=DATEDIF(A2,$E$1,"M")Completed months320
=$E$1-A2Total days9,756
=ROUNDDOWN(YEARFRAC(A2,$E$1,1),2)Decimal years (2 places)26.71

The decimal-years row uses actual/actual counting: 26 full years plus 260 of 365 days.

What Are the Uses of the Google Sheets Age Formula Generator?

The Google Sheets Age Formula Generator has 4 main uses: shared rosters, form responses, CRM sheets and classroom data.

  • Shared rosters: Teams keep live ages in a shared sheet.
  • Form responses: Google Forms answers with a birth date get an age column through ARRAYFORMULA.
  • CRM sheets: Small businesses track customer birthdays and ages.
  • Classroom data: Teachers compute student ages on test day.

Google Sheets Age Formula Generator FAQ

Does DATEDIF work in Google Sheets?

Yes, DATEDIF works in Google Sheets with the units Y, M, D, MD, YM and YD.

Why does ARRAYFORMULA need the IF check?

The IF check leaves empty rows blank. Without it, empty rows show errors or ages from day 0 of the Sheets calendar.

Written and reviewed by Iqbal Hussain. Last reviewed. Calendar rules and sources: methodology.