Formula to work out someone's age in years at today's date.

Can anyone please help. What I am trying to does this. I am working on a family birthday reminder spreadsheet. I know everyone's date of birth. I will have the names in column 1 and in the next column 2 would be their date of birthday. What I want to be able to do is to be able to open the spreadsheet and be able to view in the next column 3, their current age in years so I know what birthday card to buy.



MacBook, macOS 10.14

Posted on Jul 17, 2020 11:29 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 17, 2020 5:28 PM

Hi T_A_M,


Use TODAY to get today's date and DATEDIF to determine the number of years since the person was born.


Here's an example for two people born shortly before and shortly after today's date in 2000:



The formula shown is entered in C2, and filled down to C3. "Y" is chosen from a menu opened by clicking the disclosure triangle on the token.


The description for DATEDIF in the Function Browser will give you information on the other 'codes' which may be placed in the position, and the effect of each.


In column B, both cells have this formula:


Which returns today's date,


Regards,

Barry

3 replies
Question marked as Top-ranking reply

Jul 17, 2020 5:28 PM in response to T_A_M

Hi T_A_M,


Use TODAY to get today's date and DATEDIF to determine the number of years since the person was born.


Here's an example for two people born shortly before and shortly after today's date in 2000:



The formula shown is entered in C2, and filled down to C3. "Y" is chosen from a menu opened by clicking the disclosure triangle on the token.


The description for DATEDIF in the Function Browser will give you information on the other 'codes' which may be placed in the position, and the effect of each.


In column B, both cells have this formula:


Which returns today's date,


Regards,

Barry

Jul 18, 2020 1:35 PM in response to T_A_M

HI T_A_M,


One thing I should have added…


Like all formulas in Numbers, this one will update only when there is a change in the table.

The change could be entering a new birthdate, or could be as simple as checking or unchecking a checkbox.

You can put a checkbox in any unused cell on the table, or in a case like this one, you could add a column and set the Data format of one of the cells in that column to Checkbox. Clicking the box would then update the calculations on the table.


Regards,

Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Formula to work out someone's age in years at today's date.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.