+ Reply to Thread
Results 1 to 4 of 4

Getting Late and Undertime Hours

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2007
    Posts
    5

    Getting Late and Undertime Hours

    Hi,

    I need to ask for your expertise on how I can get the late hours and under time hours if the setup of my data is like the one attached?

    Your help in this will be greatly appreciated.

    Princess
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Getting Late and Undertime Hours

    Princess!!!

    I came up with:

    Please Login or Register  to view this content.
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    This sums up the total time. If you need to see the variance compared to L, you could just do L-formula.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Getting Late and Undertime Hours

    In AI3, AI formatted as hh:mm or [hh]:mm

    =SUMPRODUCT(--($M$2:$AH$2="Stop Time"),M3:AH3)- SUMPRODUCT(--($M$2:$AH$2="Start Time"),M3:AH3)
    = 01:07
    In AJ3, formatted as %

    =AI3/(L3/24)
    =112%

    In AK3, formatted as time

    =IF(AJ3>1,AI3/AJ3, AI3)

    In AL3, formatted as time

    =ABS(AK3-AI3)

    Not sure what Schedule Adherence (AM3) refers to.
    Last edited by ChemistB; 11-25-2015 at 05:38 PM. Reason: Added additional formulas
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    11-24-2015
    Location
    Manila, Philippines
    MS-Off Ver
    2007
    Posts
    5

    Re: Getting Late and Undertime Hours

    Thanks daffodil11 and ChemistB. Both formula gave me the same result. They are very helpful.

+ 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] Computing for UNDERTIME (if actual time out is AM next day)
    By helpme10 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2018, 12:17 PM
  2. Calculating schedule adherence/undertime
    By Callcenter in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-05-2014, 06:47 PM
  3. Seperate simple hours, holiday hours and night hours
    By enitron in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2014, 07:22 AM
  4. Help me on how to calculate late hours
    By wawasimark in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-13-2013, 04:25 AM
  5. [SOLVED] Calculate hours with predefined Working Hours and Weekend Hours
    By garciapliz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-05-2013, 11:17 AM
  6. Excel Timesheet - Undertime / Tardy/ Post OT calculations
    By mantrp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-14-2012, 09:49 PM
  7. Late Binding or Late Anything
    By Piranha in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2005, 10:42 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