+ Reply to Thread
Results 1 to 2 of 2

Using Excel but can't get hh:mm to go negative when subtracted

  1. #1
    bobuk33
    Guest

    Using Excel but can't get hh:mm to go negative when subtracted

    Trying to monitor hours worked vs hours planned eg planned 37 hours, worked
    36 hours therefore want -1 hour ..... Help driving me mad

  2. #2
    Bob Phillips
    Guest

    Re: Using Excel but can't get hh:mm to go negative when subtracted

    You won't get it.

    You can get 1 by using

    ABS(time_1-time_2)

    and test if time_2 is greater than time_1 to prefix with a -, but this then
    becomes text

    =IF(time_2>time_1,"-","")&ABS(time_1-time_2)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "bobuk33" <[email protected]> wrote in message
    news:[email protected]...
    > Trying to monitor hours worked vs hours planned eg planned 37 hours,

    worked
    > 36 hours therefore want -1 hour ..... Help driving me mad




+ 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