+ Reply to Thread
Results 1 to 3 of 3

Need formula to find the difference between time and minus lunch and breaks

  1. #1
    Forum Contributor
    Join Date
    04-28-2013
    Location
    Miami, United States
    MS-Off Ver
    Excel 365 (Newest version)
    Posts
    254

    Need formula to find the difference between time and minus lunch and breaks

    Anyone knows a formula that will find the difference between two times and minus breaks and lunch? I am trying to calculate OT hrs.

    I've attached a sheet to shsow.Overtime Tracker (reviewed).xlsx

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Need formula to find the difference between time and minus lunch and breaks

    elapsed time = [endtime] - [starttime]
    HrsNet = [elapsedTime] - [break] - [lunch]

  3. #3
    Forum Contributor Cerbera's Avatar
    Join Date
    07-06-2010
    Location
    Rotorua, New Zealand
    MS-Off Ver
    Excel 2007, 2013, 2016 & 365
    Posts
    137

    Re: Need formula to find the difference between time and minus lunch and breaks

    Hi ShellyBelly,

    Please see the attached spreadsheet.

    I've changed the formulas for you. I've assumed that the break/lunch is based upon the hours elapsed at work as opposed to the payable hours. e.g. If I worked 4 hrs 10 mins I'd get a 15 minute break in there. That is opposed to saying with 15 mins break I'd only work 3hrs 55mins for which I don't hit the 4 hours required for a break, etc.

    One improvement is the use of a vlookup with the option of "True" or "1" at the end. This means you can have a small table show the points at which the break or lunch change rather than listing every possible combination of hours worked and the break / lunch allocated.

    I hope this does what you're after; if so please mark the thread as closed under thread tools at the top and if you're happy give reputation using the "* Add Reputation" at the bottom of my post.

    Cheers,

    Cerbera

    Overtime Tracker (reviewed).xlsx
    If I've helped please click on *Add Reputation

+ 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. [SOLVED] Calculating total minutes worked in real time, minus breaks and lunch.
    By uacdub in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-06-2014, 08:54 AM
  2. Replies: 10
    Last Post: 03-31-2014, 01:18 PM
  3. [SOLVED] calculate time in and time out minus lunch hours
    By rjassal82 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-29-2013, 10:43 AM
  4. [SOLVED] Needing to combine 2 IF statements in one Cell. Time Schedule minus lunch time
    By cody_o in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2013, 04:10 PM
  5. working time minus lunch
    By mr_markus in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-19-2012, 04:23 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