Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

# Calculate details for a coffin nameplate (# Years, # Months, # Days)

Topic Labels: Formulas
Solved
280 2
cancel
Showing results for
Did you mean:
4 - Data Explorer

Hi, I need to calculate the age of a Deceased. I assume a formula is needed. I have Date of Birth and Date of Death to work with and I need the know the age in Years, Months and Days.

Any help would be greatly appreciated.

1 Solution

Accepted Solutions
16 - Uranus

Fairly straightforward until you get to the days component. Not sure if there’s a more efficient formula than:

``````DATETIME_DIFF({Date of Death}, {Date of Birth}, "years")
& " years, "
& MOD(DATETIME_DIFF({Date of Death}, {Date of Birth}, "months"), 12)
& " months, "
& DATETIME_DIFF(
{Date of Death},
DATEADD({Date of Birth}, DATETIME_DIFF({Date of Death}, {Date of Birth}, "months"), "months"),
"days"
)
& " days"
``````
2 Replies 2
16 - Uranus

Fairly straightforward until you get to the days component. Not sure if there’s a more efficient formula than:

``````DATETIME_DIFF({Date of Death}, {Date of Birth}, "years")
& " years, "
& MOD(DATETIME_DIFF({Date of Death}, {Date of Birth}, "months"), 12)
& " months, "
& DATETIME_DIFF(
{Date of Death},
DATEADD({Date of Birth}, DATETIME_DIFF({Date of Death}, {Date of Birth}, "months"), "months"),
"days"
)
& " days"
``````
4 - Data Explorer

That works amazingly. Thank you so much! If ever you need a nameplate, just shout :winking_face: