Hi!
Not too difficult in principle, but you will need to make a couple of
decisions.
It is easy to turn the difference between two dates into a number of
days:
=today()-A1 will give the number of days between the date in A1
(formatted as date) and today.
Total number of days for the people in the room is the sum of all of
these quantities.
How to turn days into years and months?
Are you happy to treat every year as 365 days (ignore leap years)?
Probably, I suspect.
Are you happy to treat every month as 30 days, likewise?
If so, the following will "decode" days to years, months and days.
A100 contains sum of all days.
B100 | =int(A100/365) -- gives number of years.
C100 | =int((A100-365*B100)/30) -- gives no. of months.
D100 | =A100-365*B100-30*C100 -- gives no. of days.
It will be close, but not exact. If you want a measure of exactly how
many days, months and years people have lived, then it is a slightly
different problem.
At that point I would reach for a function date.diff from the
collection Morefunc downloadable free from
'
http://perso.wanadoo.fr/longre/excel/pages/Downloads.htm#Morefunc.xll.'
(
http://)
Alf