Thread: Date to years
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Date to years


Hi, try this:

=DATEDIF(A1,TODAY(),"y") # years

you can also use:

"m" - months
"d" - days
"ym" - year months
"yd" - year days

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=494468