o4-mini-2025-04-16· OpenAI
LMArena Human Preference 140K
excel formula to calculate persons age
- User
excel formula to calculate persons age
- Assistant
Here are a few ways to calculate someone’s age in Excel. Assume the person’s date of birth is in cell A2.
- Quick “whole years” with DATEDIF
code=DATEDIF(A2, TODAY(), "Y")– Returns the number of complete years between A2 and today.
- Years‐Months‐Days breakdown
code=DATEDIF(A2, TODAY(), "Y") & " yrs, " & DATEDIF(A2, TODAY(), "YM") & " mos, " & DATEDIF(A2, TODAY(), "MD") & " days"
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.