Results 1 to 7 of 7
  1. #1
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Time Elapsed Calculation (2002)

    Provided the time cells are valid as time in Excel, that is as a decimal fraction of a day, the formula is simple:

    =C2+D2-A1-B2

    but the result must be formatted as time using [h]:mm or [h]:mm:ss.
    -John ... I float in liquid gardens
    UTC -7ąDS

  2. #2
    New Lounger
    Join Date
    Aug 2002
    Location
    Texas, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Time Elapsed Calculation (2002)

    Hi John,

    I tried that and the formula doesn't seem to work. See the attached worksheet.
    Attached Files Attached Files

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Time Elapsed Calculation (2002)

    Your formula:

    <pre>=C2+D2-A1-B2
    </pre>


    is subtracting A1 which is a label. The formula should be:

    <pre>=C2+D2-A2-B2
    </pre>

    Legare Coleman

  4. #4
    3 Star Lounger
    Join Date
    Jun 2001
    Location
    Maidstone, Kent, England
    Posts
    398
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Time Elapsed Calculation (2002)

    Looks like you gave John the wrong addresses, try
    =C2+D2-A2-B2

    HTH

    Petrer

  5. #5
    New Lounger
    Join Date
    Aug 2002
    Location
    Texas, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Time Elapsed Calculation (2002)

    Looks like that worked....although, I don't understand why. I see that =C2+D2 gives me the date & time combined but I don't understand the A2-B2 part of the formula. Can anyone explain this to me? Thanks for all the help!

  6. #6
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Time Elapsed Calculation (2002)

    C2+D2 is End date + end time
    A2 + B2 is Start date + start time

    End - Start = elapsed time
    (C2+D2) - (A2 + B2) = elapsed time
    thus: elapsed time = C2 + D2 - A2 - B2 (without any parentheses)
    Steve

  7. #7
    New Lounger
    Join Date
    Aug 2002
    Location
    Texas, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Time Elapsed Calculation (2002)

    Hello!

    I am trying to figure out a formula that will show the total elapsed time between 2 dates/times. The problem is that the dates and times are in separate cells. For example: A1=Date In; B2=Time In; C2=Date Out; D2=Time Out
    In cell E2, I need a formula to calculate the total time (hours/minutes) that has elapsed. Please help!!!

    Sorry the Date In is in A2 NOT A1.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •