+ Reply to Thread
Results 1 to 4 of 4

Thread: Overtime less than contracted hours

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2007
    Posts
    2

    Overtime less than contracted hours

    Hi guys

    I am trying to produce a worksheet for hours of work o/t and how much i earn each day
    i have done most and working fine except one thing thats bugging me.

    cell (i) hours worked
    cell (k) contracted hours
    cell (m) overtime

    what i am looking for is if

    cell (i) has 07:00:00 hours worked
    but contracted hours is 8hrs then i want
    cell (m) to show 00:00:00 as overtime

    hope someone can help

    cheers
    Last edited by stevehall; 11-03-2011 at 12:48 PM. Reason: incorrect heading

  2. #2
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,292

    Re: Overtime less than contracted hours

    Hi.

    Please take a look at the attached file

    Is this what are you looking for?
    Attached Files Attached Files
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  3. #3
    Registered User
    Join Date
    10-16-2011
    Location
    texas
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Overtime less than contracted hours

    put in cell (m) (formatted as time):
    =IF((k)>(i),0,(i)-(k))

    I used your format of (i), (k), and (m), obviously cahnge those to proper cell targets

    what it wll do: if your contracted hours are less than the actual hours worked, it will display 0 overtime in (m), if the hours worked is higher than the contracted hours, it will show the difference of hours worked vs contracted in (m), thus showing the amount of overtime you earned assuming thats how you want it to function.

  4. #4
    Registered User
    Join Date
    11-03-2011
    Location
    Birmingham
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Overtime less than contracted hours

    thats bang on thank you very much

+ 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.2.0