+ Reply to Thread
Results 1 to 2 of 2

Calculate the worked overtime depending on two criteria

  1. #1
    Registered User
    Join Date
    11-12-2019
    Location
    Belgium
    MS-Off Ver
    Office 365
    Posts
    21

    Question Calculate the worked overtime depending on two criteria

    Hey guys and girls,

    I need your help once again.

    Person 1 works 4 days a week. Always from Monday till Thursday.
    When he works during D(ay)-shift (see W05), he has to work minimum 8 hours on Monday, Tuesday and Wednesday and 7.2 hours on Thursday.
    When he works during L(ate)-shift (see W04), he has to work minimum 7.2 hours on Monday and 8 hours on Tuesday, Wednesday and Thursday.

    In cell F10 i need to adjust the existing formula (which calculates the hours in excess of standard weeks, like written above) so it will see the difference between D(ay)-shift and L(ate)-shift.
    The correct return of the formula in cell C10 should have to be 4.3 like calculated manually in cell F11

    Do you have any ideas??


    Tank in advance!!


    Alex
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Calculate the worked overtime depending on two criteria

    Please try F10
    =SUM(K10:FI12)-COUNTIFS(M10:FA10,"Lier")*8+COUNTIFS(P10:FD10,"L",M7:FA7,"ma")*0.8+COUNTIFS(P10:FD10,"D",M7:FA7,"do")*0.8

    Your manual calculation

    …+U10+U11-8+… D(ay)-shift on Thursday should be -7.2

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 02-08-2018, 01:12 PM
  2. VBA place hours worked on master sheet depending of the date worked in that week
    By guhaseelan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2017, 10:35 AM
  3. Replies: 3
    Last Post: 01-21-2016, 06:07 PM
  4. Replies: 0
    Last Post: 01-18-2016, 03:55 PM
  5. [SOLVED] Add an amount to wages if Overtime worked, but show zero if there is no overtime
    By KazzICC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-14-2014, 01:55 AM
  6. Replies: 2
    Last Post: 01-17-2014, 02:22 PM
  7. Replies: 0
    Last Post: 03-19-2013, 05:08 PM

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