Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
timmyc
 
Posts: n/a
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Working out age from "Day" "Month" "Year"

Try this, it has worked for me.

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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
timmyc
 
Posts: n/a
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
amount of working days per month Nigel Excel Discussion (Misc queries) 2 November 29th 05 10:41 AM
Calculation with Working day of the year Box666 Excel Discussion (Misc queries) 4 November 10th 05 06:33 PM
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
Working time and days Nortos Excel Worksheet Functions 5 May 6th 05 04:17 PM
Working time and days Nortos Excel Discussion (Misc queries) 1 May 6th 05 03:47 PM


All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"