Technical & Developer Tools
Google Sheets Age Formula Generator
Generate cloud spreadsheet formulas for birth-date age tracking.
The code returns for the sample
- Generated code
Step-by-step working
- Sample: 2000-03-10 → 2026-11-29
- 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.
- Enter the birth date column: Type the column, such as A, and the first data row, such as 2.
- Choose the reference: Use TODAY() or a fixed date cell such as $E$1.
- Choose single or column mode: Single-cell formulas fill down; ARRAYFORMULA fills the column.
- 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
| Symbol | Meaning |
|---|---|
A2:A | Open-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.
=ARRAYFORMULA(IF(A2:A="",,DATEDIF(A2:A,$E$1,"Y")))- 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:
| Formula | Returns | Result |
|---|---|---|
=DATEDIF(A2,$E$1,"Y") | Completed years | 26 |
=DATEDIF(A2,$E$1,"YM") | Months after last birthday | 8 |
=DATEDIF(A2,$E$1,"YD") | Days after last birthday | 260 |
=DATEDIF(A2,$E$1,"M") | Completed months | 320 |
=$E$1-A2 | Total days | 9,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.
Related Technical & Developer Tools Tools
Time Zone Aware Age Calculator
Compare birth and reference timestamps across global time zones.
Unix Birth Timestamp Age Calculator
Calculate elapsed age from seconds-since-epoch Unix timestamps.
ISO 8601 Birth Date Age Calculator
Calculate age from standard ISO 8601 date-time strings.
Birth Date Validator
Check date validity, leap day legality, and future date errors.
Excel Age Formula Generator
Generate DATEDIF and YEARFRAC spreadsheet age formulas.
SQL Age Query Generator
Generate age calculation SQL queries for PostgreSQL, MySQL, and SQLite.