Age in Years
This calculated column uses a SharePoint formula to calculate a person's age in whole years from their birthdate. Because it lives in a calculated column, SharePoint fills the value in for every item automatically - no custom development and nothing for your users to type.
How It Works
- What it does: Works out a person’s age in whole years from their birthdate.
- What you get: A whole number of years – a birthdate in 1990 shows 36 in 2026.
- If a value is missing: If Birthdate is blank, the column shows a blank or an error instead of an age.
Common Use Cases
- Employee tenure or customer age
- Equipment or asset age from a purchase date
- Years since a policy was signed
- Membership longevity
Details
- Formula Type: Calculated Column
- Formula Category: Dates & Time
Required Columns
| Display name | Column type |
|---|---|
| Birthdate | Date and Time |
| Age in Years | Calculated |
Prerequisites
- Create the column the formula reads: Birthdate
- Add or edit a few items so there is data for the formula to work with
How to Apply the Formula
- Add a column, choose More…, then select Calculated (calculation based on other columns)
- Set the data type returned from this formula to Number
- Paste the formula below into the Formula box
- Click OK to create the column
Formula
=DATEDIF([Birthdate],[Today],"y")
Common Questions About Age in Years Formula
What does this formula do?
Whole years since a date. It lives in a calculated column, so SharePoint fills the value in automatically for every item.
Which columns do I need to set this up?
You need: Birthdate (Date and Time). The formula reads these to produce its result.
Can I change the formula for my own columns?
Yes. Swap the column names in brackets for your own, and adjust any numbers or text.
If LookBook 365 is code-free and out-of-the-box, why does this example use a formula?
A SharePoint formula is native, declarative configuration, not custom development. It only works with the item’s own fields and simple logic – it cannot run scripts, reach external services, or change other data, and nothing is deployed to your tenant. It keeps working through Microsoft updates. If you would rather not set this up yourself, this is exactly the kind of thing I configure for clients.
