+ Reply to Thread
Results 1 to 3 of 3

Adding time over a 24 hour period

  1. #1
    Paige
    Guest

    Adding time over a 24 hour period

    On my spreadsheet I am adding two cells.
    Formula =E12-D12+IF(D12>E12,1)
    This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
    As you can see this is over 24 hours but the answer is 7 hours, the same
    answer I get when subtracting the same hours on the same day. What am I
    doing wrong?
    --
    Thank you,

    Paige

  2. #2
    Bob Phillips
    Guest

    Re: Adding time over a 24 hour period

    Format the result cell as [h]:mm

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Paige" <Paige@discussions.microsoft.com> wrote in message
    news:26B5DFD8-FFEB-4F41-98FD-74810DE1DD78@microsoft.com...
    > On my spreadsheet I am adding two cells.
    > Formula =E12-D12+IF(D12>E12,1)
    > This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
    > As you can see this is over 24 hours but the answer is 7 hours, the same
    > answer I get when subtracting the same hours on the same day. What am I
    > doing wrong?
    > --
    > Thank you,
    >
    > Paige




  3. #3
    Paige
    Guest

    Re: Adding time over a 24 hour period

    You are the best!!!
    --
    Thank you,

    Paige


    "Bob Phillips" wrote:

    > Format the result cell as [h]:mm
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (replace somewhere in email address with gmail if mailing direct)
    >
    > "Paige" <Paige@discussions.microsoft.com> wrote in message
    > news:26B5DFD8-FFEB-4F41-98FD-74810DE1DD78@microsoft.com...
    > > On my spreadsheet I am adding two cells.
    > > Formula =E12-D12+IF(D12>E12,1)
    > > This should subtract 4/12/06 9:00AM to 4/13/06 16:00 (4:00PM)
    > > As you can see this is over 24 hours but the answer is 7 hours, the same
    > > answer I get when subtracting the same hours on the same day. What am I
    > > doing wrong?
    > > --
    > > Thank you,
    > >
    > > Paige

    >
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1