+ Reply to Thread
Results 1 to 3 of 3

Punch-in clock broken at work - need to address pay discrepancies

  1. #1
    Registered User
    Join Date
    04-27-2017
    Location
    New York
    MS-Off Ver
    MS 365 v2211
    Posts
    89

    Punch-in clock broken at work - need to address pay discrepancies

    Hello,

    The time tracker at work is on the fritz and now we have to reconcile instances in which workers' time was under reported or over reported. Then we have to correct their pay.

    There are three important contingencies:

    1. On weekdays, workers can work no more than 7 hours before overtime pay is allotted.
    2. On weekends, they can work 8 hours before overtime pay is allotted.
    3. Note that in some cases (see rows 8 and 18 for examples) a worker was shorted time that requires both regular pay and overtime pay.

    I'm open to ideas for how to arrange this neatly and accurately. The attached sheet is a very small example (real names are changed) but there are hundreds of employees affected.

    Thank you for suggestions!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,293

    Re: Punch-in clock broken at work - need to address pay discrepancies

    Use this formula in H2, and copy down. Negative amounts are overpayments, positive are underpayments.

    =IF(D2="M-F",(MIN(7,E2)*B2+MAX(0,E2-7)*C2)-(MIN(7,F2)*B2+MAX(0,F2-7)*C2),(MIN(8,E2)*B2+MAX(0,E2-8)*C2)-(MIN(8,F2)*B2+MAX(0,F2-8)*C2))
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    04-27-2017
    Location
    New York
    MS-Off Ver
    MS 365 v2211
    Posts
    89

    Re: Punch-in clock broken at work - need to address pay discrepancies

    It works! Thank you, Bernie. That was only a simplified sample sheet, so I'll try on my own to translate your formula to the real sheet. Then, I'll officially label this one solved.

+ 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. Help with Punch Clock
    By horsefish01 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2018, 08:54 AM
  2. [SOLVED] Punch Clock
    By domnicess in forum Excel General
    Replies: 6
    Last Post: 06-10-2014, 11:53 AM
  3. Clock in multiple punch in/punch out times Formula
    By Schnizzle74 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2014, 06:15 PM
  4. Analysis of Punch Clock Data in new format
    By samfarrugia in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2012, 08:08 AM
  5. Help with macros for employee punch clock
    By rageo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2009, 10:05 PM
  6. how do i work out how many hrs have passed in a 24 hr clock, in ex
    By excelious in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-10-2005, 08:06 AM
  7. Extract comma broken address to cells
    By bbc1 in forum Excel General
    Replies: 5
    Last Post: 02-14-2005, 08:06 AM

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