PC Review


Reply
Thread Tools Rate Thread

DETERMINING NUMBER OF DAYS / MONTHS / YEARS BETWEEN TWO DATES

 
 
Boyertown Casket
Guest
Posts: n/a
 
      17th Mar 2009
I have the Date of Death in Cell A1 and the Date of Birth in Cell B1. I
would like to place the number of days / months / years this person was alive
in Cell C1. I would like the output to reflect this: 79 Years 6 Months 3
Days

Thank you for your help and support.

Jerry
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      17th Mar 2009
Hi,

I've never understood the values of using monthe in calculating age, is
someome born on 1 feb the same age as someone born 1 jan at the end of those
months? I think not. However, try this

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

datedif isn't documented in excel so for help look here

Be aware that this formula can throw up odd results, try these dates

Some odd results arise with that formula when it is used for this kind of
determination:

DOB: 31 Jan 1943
DOD: 01 Mar 2008

Your Formula: 65 y 1 m -1 d


Mike

http://www.cpearson.com/excel/datedif.aspx



"Boyertown Casket" wrote:

> I have the Date of Death in Cell A1 and the Date of Birth in Cell B1. I
> would like to place the number of days / months / years this person was alive
> in Cell C1. I would like the output to reflect this: 79 Years 6 Months 3
> Days
>
> Thank you for your help and support.
>
> Jerry

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number of years/months/days between 2 dates =?Utf-8?B?RGVib3JhaA==?= Microsoft Excel Worksheet Functions 4 7th Jul 2006 11:24 AM
Number of years, months, days between two dates. =?Utf-8?B?Qmx1ZW5vc2U=?= Microsoft Excel Worksheet Functions 34 30th Jun 2005 02:18 PM
Converting dates to years, months & days =?Utf-8?B?Ym9kYWNpb3VzMjEy?= Microsoft Excel Programming 1 28th Jan 2005 04:48 AM
Dates to days/months/years Ian Microsoft Excel Misc 8 6th Nov 2004 06:41 PM
Years, Months and Days between tow dates Juan Microsoft C# .NET 5 29th Apr 2004 05:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 AM.