ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calculating Age (https://www.excelbanter.com/excel-worksheet-functions/109134-calculating-age.html)

Mert

Calculating Age
 
I want to calculate someone's age from a year not from today's date.

ie: the birthday is August 16, 1979 if we calculate from (today) it will
say 27 but i want to calculate from the year (2007) - so it will show 28

Dave F

Calculating Age
 
Can't you just do =DATEDIF(8/16/07,8/16/79)?

Dave
--
Brevity is the soul of wit.


"Mert" wrote:

I want to calculate someone's age from a year not from today's date.

ie: the birthday is August 16, 1979 if we calculate from (today) it will
say 27 but i want to calculate from the year (2007) - so it will show 28


Bob Phillips

Calculating Age
 
=DATEDIF(A1,DATE(YEAR(TODAY())+1,MONTH(TODAY()),DA Y(TODAY())),"Y")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Mert" wrote in message
...
I want to calculate someone's age from a year not from today's date.

ie: the birthday is August 16, 1979 if we calculate from (today) it will
say 27 but i want to calculate from the year (2007) - so it will show 28




Nobody

Calculating Age
 
Let say your
A1 8/16/1979
A2 8/16/2007

A3 =DATEDIF(A1,A2,"y")

---------------------
mama no teeth

"Mert" wrote:

I want to calculate someone's age from a year not from today's date.

ie: the birthday is August 16, 1979 if we calculate from (today) it will
say 27 but i want to calculate from the year (2007) - so it will show 28



All times are GMT +1. The time now is 08:55 PM.

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