View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default How can I calculate dates?

=DATEDIF(A1,B1,"y") & " years, " & DATEDIF(A1,B1,"ym") & " months, " &
DATEDIF(A1,B1,"md") & " days"

--
Gary''s Student - gsnu200737


"Saz" wrote:

Hi,

I have to find out how old is the past date from today's date? Example
- Date of birth (A1) = 01/01/1978 and today's date (B1) = 08/15/07 so
on C1 (B1-A1) = ?

Thank you,
Sajan