Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Nov 2004
    Location
    Oroville, California, USA
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding Time Together (1997)

    I am trying to add time together, but am having trouble when the dates overlap. If I leave point "X" on 1/1/207 @ 13:00, and arrive point "Y" @ 13:00 on 1/3/207, I shoild get a result of accumulated time of 48 hours. (See Example)

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Adding Time Together (1997)

    I think your formula should be
    <code>
    =IF(D7="","",E8-E7+D8-D7)
    </code>
    (you need to subtract both the dates and the times, and add the results together)
    You should set the number format (in Format | Cells..., Number tab) to a format for elapsed time; there is one in the Time category (example: 37:30:55), or you can set a custom format such as [hh]:mm. The square brackets around the hours specify elapsed time instead of clock time.

Posting Permissions

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