ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Working out age from "Day" "Month" "Year" (https://www.excelbanter.com/excel-worksheet-functions/69709-working-out-age-day-month-year.html)

timmyc

Working out age from "Day" "Month" "Year"
 

I would like to know how would I work out someone's age in number ("20")
from having three seperate columns of:

Day Month Year
14 March 1986

note, this is not in the form dd/mm/yyyy in *one* cell but in three
seperate columns. I am thinking there may be two steps e.g. on step to
get it into dd/mm/yyyy then another to pur it into age?

Thanks in advance, Tim


--
timmyc
------------------------------------------------------------------------
timmyc's Profile: http://www.excelforum.com/member.php...o&userid=31198
View this thread: http://www.excelforum.com/showthread...hreadid=508699


daddylonglegs

Working out age from "Day" "Month" "Year"
 

Perhaps,

=DATEDIF(A1&"-"&B1&"-"&C1,NOW(),"y")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=508699


[email protected]

Working out age from "Day" "Month" "Year"
 
Try this, it has worked for me.

=YEAR(TODAY()-DATEVALUE(A1&B1&C1))-1900


Don Guillett

Working out age from "Day" "Month" "Year"
 
one way with a lookup table
January 1
February 2
March 3
April 4
May 5
June 6
July 7
August 8
September 9
October 10
November 11
December 12


=DATEDIF(DATE(I5,VLOOKUP(H5,K4:L15,2,0),G5),NOW(), "y")

--
Don Guillett
SalesAid Software

"timmyc" wrote in
message ...

I would like to know how would I work out someone's age in number ("20")
from having three seperate columns of:

Day Month Year
14 March 1986

note, this is not in the form dd/mm/yyyy in *one* cell but in three
seperate columns. I am thinking there may be two steps e.g. on step to
get it into dd/mm/yyyy then another to pur it into age?

Thanks in advance, Tim


--
timmyc
------------------------------------------------------------------------
timmyc's Profile:
http://www.excelforum.com/member.php...o&userid=31198
View this thread: http://www.excelforum.com/showthread...hreadid=508699




timmyc

Working out age from "Day" "Month" "Year"
 

Yeah thanks alot that really helped.

Tim


--
timmyc
------------------------------------------------------------------------
timmyc's Profile: http://www.excelforum.com/member.php...o&userid=31198
View this thread: http://www.excelforum.com/showthread...hreadid=508699



All times are GMT +1. The time now is 12:23 AM.

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