+ Reply to Thread
Results 1 to 3 of 3

Attendance Late Punch In / Out Highlighting

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    Union City
    MS-Off Ver
    Excel 2010
    Posts
    6

    Attendance Late Punch In / Out Highlighting

    Good Morning,

    I've searched the forums but haven't been able to quite find what I am looking for.

    I am attempting to determine if people are clocking In / Out on time. I would like the entire row to be highlighted in addition mark "Yes" or "No". Preference is to use Formulas and/or Conditional formatting to achieve this functionality.

    Someone is "on time" if they punch in between either of these two(2) time windows:
    5:53 - 6:07
    1:53 - 2:07


    Data matrix look:

    Column A Column B Column C Column D
    Employee Time In Time Out Late?
    Employee 1 05:53 PM 05:59 AM Y or N
    Employee 2 05:53 PM 06:00 AM
    Employee 3 06:00 PM 02:00 AM
    Employee 4 05:53 PM 06:00 AM
    Employee 5 05:55 PM 06:00 AM
    Employee 6 08:52 PM 06:00 AM
    Employee 7 05:55 PM 06:00 AM
    Employee 8 05:53 PM 06:00 AM
    Employee 9 05:53 PM 06:00 AM
    Employee 10 01:00 PM 09:00 PM
    Employee 11 01:02 PM 09:00 PM
    Employee 12 06:59 AM 01:07 PM
    Employee 13 06:56 AM 02:12 PM
    Employee 14 02:00 PM 10:00 PM
    Employee 15 01:02 PM 09:00 PM
    Employee 16 01:01 PM 09:00 PM
    Employee 17 01:06 PM 09:00 PM
    Employee 18 01:01 PM 09:00 PM


    Thank you!

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

    Re: Attendance Late Punch In / Out Highlighting

    You have seven minute window on either side of 6AM and 2PM - at least, that is my interpretation - for the arrivals. If those two time are different, change them in the formula.

    Anyway, in D2, use something like this formula for arrival:

    =IF(MIN(ABS(B2-"2:00:00 PM"),ABS(B2-"6:00:00 AM"))<=TIMEVALUE("0:07:00"),"On time","Late")

    I was not sure if Y means on time or late, so I used words. You can change it to whatever you like. Copy down to match your list.

    For the conditional fomatting, select A2:DXXX, choose CF, use the formula option, with the Formula

    =$D2="Late" (or whatever you used to replace "Late" in my formula)

    and choose the red fill.
    Last edited by Bernie Deitrick; 11-08-2016 at 10:02 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Attendance Late Punch In / Out Highlighting

    This is what I came up with. Should get you started
    Attached Files Attached Files
    Last edited by Jamesera27; 11-09-2016 at 12:30 AM.

+ 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. Formula to display "Late" on Attendance tracker
    By cantona in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-27-2017, 01:21 AM
  2. Replies: 10
    Last Post: 03-17-2016, 05:34 AM
  3. Replies: 7
    Last Post: 12-08-2015, 06:16 AM
  4. Need Help - AutoCalculate Attendance Points for employee attendance records
    By switzd0d in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-17-2015, 03:00 PM
  5. Track Late Attendance and Display for a 90 Day Period
    By fxking2002 in forum Excel General
    Replies: 0
    Last Post: 03-17-2014, 10:51 AM
  6. 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

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