+ Reply to Thread
Results 1 to 9 of 9

Calculating Hours worked and subtracting lunch breaks ( break depending on hours worked )

  1. #1
    Registered User
    Join Date
    09-30-2017
    Location
    London
    MS-Off Ver
    Windows 10
    Posts
    6

    Post Calculating Hours worked and subtracting lunch breaks ( break depending on hours worked )

    Ive created a table to show a rota for work.

    the table was easy enough to produce but what i really need is for excel to deduct unpaid breaks that employees take but the length of the lunch depends on how many hours worked that day
    every one starts at different times and different days example

    Mon Tue Wed etc
    Start | Finish | Hrs Srt | Fin| Hrs Srt| Fin | Hrs
    Person A 0745 | 15:00 13:00 |22:00| OFF

    Person B 15-00 | 22:00 OFF 0745 - 1700

    and so the break rules are as followed :

    if shift is Less than 6 hours = NO BREAK
    between 6 hours - 7hrs 45min = 30 min BREAK
    8 hours plus = 1 Hour break
    Example
    Person A on Monday would have 30 min break as shift is 7hrs and 15 min long but is paid for 6 hrs and 45 mins. and i would like the table to show the hours per day with the break already subtracted like " 6.45"

    Tuesday = 1 hour break because shift is 9 hours long but paid for 8

    another thing is my company likes to display hours as a decimal so i'm aware i have to multiply it by 24 on excel to give me the answer ie: 7hrs 45 mins is shown as 7.75 but i need to deduct the break first in order display it first

    is there any formulas or a function i could do to show this ?

    any advice is appreciated thank you

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well. Be sure to include an example of each permutation of hours.

    Are shifts straddling midnight involved?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-30-2017
    Location
    London
    MS-Off Ver
    Windows 10
    Posts
    6

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    screenshot
    Attached Images Attached Images
    Last edited by tashamestre; 09-30-2017 at 07:23 PM.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    Hi,

    We always prefer to see the actual workbook, particularly if you already have one so that we don't have to spend time recreating it. Please upload it here.

  5. #5
    Registered User
    Join Date
    09-30-2017
    Location
    London
    MS-Off Ver
    Windows 10
    Posts
    6

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    so i would like each hour coloumn to calculate the hours work adn then deduct the break acording to the rules

    Example

    on Monday Rachel is entitled to 30 mins break according to the rules as her shift is 7.25 hours long (7hrs 15mins)
    so E6 should show 6.75 hours (6hrs 45min)

    however on Tuesday her shift is 10.17 hours long resulting to an hour break so H6 should show 9.17 hours worked ( 9hours 10 mins)
    and Wednesday no break

    is it possible to find a formula that calculates the break and then also deduct it leaving only the worked hours she is to be paid ?

    thank you again

    Untitled.jpg

  6. #6
    Registered User
    Join Date
    09-30-2017
    Location
    London
    MS-Off Ver
    Windows 10
    Posts
    6

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    how do i attach an actual document it is only allow me attaching a image or URL

    im so sorry about this im not used to using these forums

    thank you for your help in advance

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke



    To attach an Excel file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  8. #8
    Registered User
    Join Date
    09-30-2017
    Location
    London
    MS-Off Ver
    Windows 10
    Posts
    6

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    lets see if it works now haha
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-30-2017
    Location
    London
    MS-Off Ver
    Windows 10
    Posts
    6

    Re: Calculating Hours worked and subtracting lunch breaks ( break depending on hours worke

    yay is worked thank you so much

+ 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. How to calculate weekly hours worked including lunch breaks and off days?
    By Magda Mocke in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-18-2017, 07:45 AM
  2. Replies: 1
    Last Post: 05-11-2017, 10:14 AM
  3. [SOLVED] Adding Hours Worked minus lunch break IF over 5 hours
    By Gtrtim112 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-15-2013, 11:16 PM
  4. How can I get my formula to deduct lunch breaks based on hours worked?
    By nikijune in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-28-2013, 05:10 PM
  5. Replies: 4
    Last Post: 02-12-2013, 07:01 AM
  6. Replies: 2
    Last Post: 02-11-2013, 02:26 PM
  7. [SOLVED] subtracting a break from hours worked
    By truecam in forum Excel General
    Replies: 2
    Last Post: 08-18-2005, 09:05 PM

Tags for this Thread

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