[mso] Excel 2000- date *with* time calculations

  • From: "Robert Carneal" <carnealre@xxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Fri, 12 Aug 2005 14:31:36 -0500

For the curious, this is a report on infant deaths.

Given O2 = 1972-08-09 07:32
N2 = 1972-08-22 09:30
The O2 cell is the date & time of birth, the N2 cell is the date and time of
death.

Using Datedif in M2, I have:
=TEXT(DATEDIF(N13,O13,"y"),"0000")&"-"&TEXT(DATEDIF(N13,O13,"m"),"00")&"-"&T
EXT(DATEDIF(N13,O13,"d"),"00")
which gives me:
0000-00-13.

How do I calculate and append the hours & minutes to this so that the result
reads:
0000-00-13 01:58
That would read the person lived 13 days, one hour, and 58 minutes.

??

Datedif will not work with Time, or will it?

Thank you.

Robert

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: