+ Reply to Thread
Results 1 to 4 of 4

How to show negative time (e.g. -10 hours)

  1. #1
    Arhippa
    Guest

    How to show negative time (e.g. -10 hours)

    How I'm able to calculate 5 hours 15 minutes minus 6 hours 30 minutes equals
    -1 hour 15 minutes?

  2. #2
    JE McGimpsey
    Guest

    Re: How to show negative time (e.g. -10 hours)

    One way:

    Change your workbook's date system to the 1904 system
    (Tools/Options/Calculate, check the 1904 date system checkbox). The
    WinXL default 1900 system can't display negative time values.

    In article <[email protected]>,
    "Arhippa" <[email protected]> wrote:

    > How I'm able to calculate 5 hours 15 minutes minus 6 hours 30 minutes equals
    > -1 hour 15 minutes?


  3. #3
    Jason Morin
    Guest

    Re: How to show negative time (e.g. -10 hours)

    Another option is to display the negative time value as a
    text value in another cell while still using the actual
    difference (#######) in any calculations.

    =IF(B1>=A1,TEXT(B1-A1,"[h]:mm:ss"),TEXT(A1-B1,"-
    [h]:mm:ss"))

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >How I'm able to calculate 5 hours 15 minutes minus 6

    hours 30 minutes equals
    >-1 hour 15 minutes?
    >.
    >


  4. #4
    Arhippa
    Guest

    Re: How to show negative time (e.g. -10 hours)

    Thanks a lot.

    "JE McGimpsey" wrote:

    > One way:
    >
    > Change your workbook's date system to the 1904 system
    > (Tools/Options/Calculate, check the 1904 date system checkbox). The
    > WinXL default 1900 system can't display negative time values.
    >
    > In article <[email protected]>,
    > "Arhippa" <[email protected]> wrote:
    >
    > > How I'm able to calculate 5 hours 15 minutes minus 6 hours 30 minutes equals
    > > -1 hour 15 minutes?

    >


+ 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