+ Reply to Thread
Results 1 to 6 of 6

Negative time value hh:mm:ss

Hybrid View

Guest Negative time value hh:mm:ss 03-20-2006, 11:55 AM
Guest Re: Negative time value... 03-20-2006, 12:10 PM
Guest Re: Negative time value... 03-20-2006, 12:15 PM
Guest RE: Negative time value... 03-20-2006, 12:35 PM
Guest RE: Negative time value... 03-20-2006, 12:45 PM
Guest RE: Negative time value... 03-20-2006, 12:50 PM
  1. #1
    Jelinek
    Guest

    Negative time value hh:mm:ss

    i have two columns of data both time formats when i subtract one from the
    other it displays ###### if it is a minus value is there away to get round
    this i would like to view the diffrence even if it is a minus amount.

    Thanks

    Simon

  2. #2
    Chip Pearson
    Guest

    Re: Negative time value hh:mm:ss

    You can do this by setting the date system to the 1904 reference.
    Go to the Tools menu, choose Options, then the Calculation tab.
    Check "1904 date system". Note, though, that this will cause all
    existing dates to be 4 years off.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "Jelinek" <Jelinek@discussions.microsoft.com> wrote in message
    news:C19017FD-9BE0-4A9D-93E7-2608ADE51A02@microsoft.com...
    >i have two columns of data both time formats when i subtract one
    >from the
    > other it displays ###### if it is a minus value is there away
    > to get round
    > this i would like to view the diffrence even if it is a minus
    > amount.
    >
    > Thanks
    >
    > Simon




  3. #3
    Niek Otten
    Guest

    Re: Negative time value hh:mm:ss

    Or:

    =IF(A1-B1<0,"-","")&TEXT(ABS(A1-B1),"hh:mm")

    If you want to calculate with it, use just =A1-B1. It will not show the way you want, but further calculations are correct.

    --
    Kind regards,

    Niek Otten

    "Chip Pearson" <chip@cpearson.com> wrote in message news:%23E6XxaDTGHA.4752@TK2MSFTNGP10.phx.gbl...
    > You can do this by setting the date system to the 1904 reference. Go to the Tools menu, choose Options, then the Calculation
    > tab. Check "1904 date system". Note, though, that this will cause all existing dates to be 4 years off.
    >
    >
    > --
    > Cordially,
    > Chip Pearson
    > Microsoft MVP - Excel
    > Pearson Software Consulting, LLC
    > www.cpearson.com
    >
    >
    > "Jelinek" <Jelinek@discussions.microsoft.com> wrote in message news:C19017FD-9BE0-4A9D-93E7-2608ADE51A02@microsoft.com...
    >>i have two columns of data both time formats when i subtract one from the
    >> other it displays ###### if it is a minus value is there away to get round
    >> this i would like to view the diffrence even if it is a minus amount.
    >>
    >> Thanks
    >>
    >> Simon

    >
    >




  4. #4
    Gary''s Student
    Guest

    RE: Negative time value hh:mm:ss

    For negative dates/times pull-down:

    Tools > Options > Calculation and check the 1904 date system
    --
    Gary's Student


    "Jelinek" wrote:

    > i have two columns of data both time formats when i subtract one from the
    > other it displays ###### if it is a minus value is there away to get round
    > this i would like to view the diffrence even if it is a minus amount.
    >
    > Thanks
    >
    > Simon


  5. #5
    Toppers
    Guest

    RE: Negative time value hh:mm:ss

    Try 1904 type date format:

    Tools/Options/Calculation tab/(bottom left corner)

    Note that changing to the 1904 date system will cause all your
    existing dates to be off by 4 years and a day

    OR

    F1: <end time>
    F2: <start time>


    As Excel shows negative times as ##### take largest from smallest and prefix
    by negative sign.

    =IF(F1<F2,TEXT(F2-F1,"-" & "hh:mm"),F1-F2)



    "Jelinek" wrote:

    > i have two columns of data both time formats when i subtract one from the
    > other it displays ###### if it is a minus value is there away to get round
    > this i would like to view the diffrence even if it is a minus amount.
    >
    > Thanks
    >
    > Simon


  6. #6
    Tom Ogilvy
    Guest

    RE: Negative time value hh:mm:ss

    You could go into tools=>options, calculation tab and change to the 1904 date
    system (the default for the mac). This supports negative dates, but your
    dates would be off by about 4 years.

    or you could use a formula like

    =if(A1>b1,"-"&Text(a1-b1,"hh:mm"),Text(b1-a1,"hh:mm"))

    --
    Regards,
    Tom Ogilvy


    "Jelinek" wrote:

    > i have two columns of data both time formats when i subtract one from the
    > other it displays ###### if it is a minus value is there away to get round
    > this i would like to view the diffrence even if it is a minus amount.
    >
    > Thanks
    >
    > Simon


+ 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