+ Reply to Thread
Results 1 to 3 of 3

Calculating Overtime between intervals

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2008
    Posts
    10

    Calculating Overtime between intervals

    Hi all,

    I am trying to calculate overtime hours in a interval, i will try to explain:

    Day1: 8hr
    Day2: 9hr
    Day3: 9hr
    Day4: 12hr
    Day5:9,5hr
    Day6: 8hr
    Day7: 11hr

    I need to know how many hours i have worked between 8 and 10 hours a day, and know how many hours i have worked above 10h/day.

    According to my worked hours i know that i have worked 2 days with 8 hours using =count, i know that i have worked 3,5 hours above 8hr/day and below 10hr/day and 3 hours above 10hr/day.

    My point is to know how many hours and not how many cells between 8 and 10 and how many cells above 10.

    How can i do this?


    Best regards,
    Rodrigo

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,926

    Lightbulb Re: Calculating Overtime between intervals

    Attached is an example. Hours data is in column B:

    For hours 8-10

    =(SUMIF(B2:B8,">8")-SUMIF(B2:B8,">10"))-(COUNTIF(B2:B8,">8")-COUNTIF(B2:B8,">10"))*8

    For hours over 10

    =(SUMIF(B2:B8,">10"))-(COUNTIF(B2:B8,">10"))*10
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-28-2008
    Posts
    10

    Re: Calculating Overtime between intervals

    Hi!

    The formula for hours over 10 is working perfectly! thanks

    for hours between 8 and 10 is not working well, as you may verify: Day 2 has 1hr, day 3 has 1hr, day 4 2hr, day 5 1,5hr and 7 2hr. So this is 7,5hrs between 8 and 10.

    Do you have ideas?

    Thanks
    Rodrigo


    Quote Originally Posted by 6StringJazzer View Post
    Attached is an example. Hours data is in column B:

    For hours 8-10

    =(SUMIF(B2:B8,">8")-SUMIF(B2:B8,">10"))-(COUNTIF(B2:B8,">8")-COUNTIF(B2:B8,">10"))*8

    For hours over 10

    =(SUMIF(B2:B8,">10"))-(COUNTIF(B2:B8,">10"))*10

+ 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