+ Reply to Thread
Results 1 to 11 of 11

in Total Worked Hour excel, stucked in thumb in /thumb out module

  1. #1
    Registered User
    Join Date
    10-26-2023
    Location
    Malaysia
    MS-Off Ver
    365
    Posts
    11

    in Total Worked Hour excel, stucked in thumb in /thumb out module

    Screenshot 2023-10-30 165559.png

    as in the attachment.
    my criteria need
    1. if only punch in but no punch out. consider no work.
    2. if punch in and punch out time similiar , consider 1st punch in.
    3. OT only valid if OT time > 1 hour, else no count OT.
    4. if work on Weekend, consider OT.
    5. Break only valid for work more than 6 hour,else no break. example work half day no minus break.
    6. the table was done using power query for the time total hours calculation.
    Last edited by ednoklv01; 10-30-2023 at 05:05 AM.

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

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    Welcome to the Forum ednoklv01!

    Please see yellow banner at the top of the page and attach a sample file, disguising or removing any private data (real names, addresses, phone numbers, account numbers, email addresses, or anything that can be used to identify a person).

    Having your file allows us to see and experiment with your data, layout, formulas, code, and possibly attach a file with a completed solution. If you are looking for formulas to produce a desired result, it helps if you create a mock-up of what you want the result to look like.

    2. I don't understand what this means. What does "similar" mean for a time? What is "1st punch in" when there is only one per day?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    10-26-2023
    Location
    Malaysia
    MS-Off Ver
    365
    Posts
    11

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    Col D is the date and days .
    Col F - start time( clocked in time)
    Col G- End Time( clocked out time)
    Col H- Col G subtract Col F
    Col I- Col H in Hour( Gross Work Hour)
    Col J- Break time, minus one hour if Gross Work Hour > 6 hour, else return 0
    Col K- Over Time, criteria: if OT daily, after minus 8.5 hour is < 1 hour, return 0 OT.
    - if Work on Weekends, count as OT.( no need minus 8.5 hour )
    -----------------------------------------------------------------------------
    a. if clock in only, forgot clock out.. regards as no work, unless got approval by HOD.
    - the raw data is from DingTalk, so can use Dingtalk amend attendance, with approval from HOD.

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

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    We cannot implement or test a solution without your file. To get the best response, attach a file as requested.

  5. #5
    Registered User
    Join Date
    10-26-2023
    Location
    Malaysia
    MS-Off Ver
    365
    Posts
    11

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    attached is the excel file. The table are massaged using Power Query.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    Try in H2:
    Please Login or Register  to view this content.
    I2:
    Please Login or Register  to view this content.
    J2:
    Please Login or Register  to view this content.
    K2:
    Please Login or Register  to view this content.
    Quang PT

  7. #7
    Registered User
    Join Date
    10-26-2023
    Location
    Malaysia
    MS-Off Ver
    365
    Posts
    11

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    one more criteria in OT Col K, if OT time is less or equal than one hour, return 0 OT.. HOD said OT only applies after 1 hour.

  8. #8
    Registered User
    Join Date
    10-26-2023
    Location
    Malaysia
    MS-Off Ver
    365
    Posts
    11

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    how to come with logic for ( if clock in only, forgot clock out.. regards as no work, unless got approval by HOD.)

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    In K2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  10. #10
    Registered User
    Join Date
    10-26-2023
    Location
    Malaysia
    MS-Off Ver
    365
    Posts
    11

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    Thanks. but the formula also deducted the larger than 1 hour OT.

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: in Total Worked Hour excel, stucked in thumb in /thumb out module

    try

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Scroll bar, Text vs Thumb?
    By ptmuldoon in forum Excel General
    Replies: 1
    Last Post: 10-11-2019, 04:55 AM
  2. Saving Excel 2010 to Thumb Drive
    By Jbb029 in forum Excel General
    Replies: 0
    Last Post: 01-28-2014, 09:04 AM
  3. Need help with opening my excel file from thumb drive.
    By Ralph171 in forum Excel General
    Replies: 1
    Last Post: 11-03-2013, 09:05 PM
  4. [SOLVED] Display specific range of cells on the thumb nail of excel file
    By vignesh805 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2013, 12:10 AM
  5. Help required for a green Thumb
    By techfutura in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2008, 08:12 AM
  6. excel to thumb file
    By satheesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2008, 12:01 PM
  7. [SOLVED] Proportional sizing of scrollbox thumb
    By jhbbunch in forum Excel General
    Replies: 0
    Last Post: 01-25-2005, 11:06 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