ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   calculating ages (https://www.excelbanter.com/excel-worksheet-functions/117850-calculating-ages.html)

pama

calculating ages
 
What is the best way to calculate the age of a person in number of years,
months, days, given their birth date?
Getting the difference between dates in number of days, and dividing by 365
may not be correct to the exact day given leap years. Is there another way?

Dave F

calculating ages
 
If birth date is in A1 and TODAY() is in B1, then B1-A1 will return the
number of days.

Make sure that the cell in which B1-A1 is is formatted as numbers.

Dave


--
Brevity is the soul of wit.


"pama" wrote:

What is the best way to calculate the age of a person in number of years,
months, days, given their birth date?
Getting the difference between dates in number of days, and dividing by 365
may not be correct to the exact day given leap years. Is there another way?


Bernard Liengme

calculating ages
 
For info on the undocumented DATEDIFF function see Chip's site
www.cpearson.com
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"pama" wrote in message
...
What is the best way to calculate the age of a person in number of years,
months, days, given their birth date?
Getting the difference between dates in number of days, and dividing by
365
may not be correct to the exact day given leap years. Is there another
way?




pama

calculating ages
 
That's what I was looking for, thank you.

"Bernard Liengme" wrote:

For info on the undocumented DATEDIFF function see Chip's site
www.cpearson.com
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"pama" wrote in message
...
What is the best way to calculate the age of a person in number of years,
months, days, given their birth date?
Getting the difference between dates in number of days, and dividing by
365
may not be correct to the exact day given leap years. Is there another
way?






All times are GMT +1. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com