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 |
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 |
Working out age from "Day" "Month" "Year"
Try this, it has worked for me.
=YEAR(TODAY()-DATEVALUE(A1&B1&C1))-1900 |
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