+ Reply to Thread
Results 1 to 5 of 5

Lateness Tracker

  1. #1
    Registered User
    Join Date
    04-21-2021
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft 365
    Posts
    13

    Lateness Tracker

    Hey all,

    Thanks for your help with my previous problem on my Lateness Tracker, however I am expanding it. I have now included a new column which tracks the amount of Lateness Periods for a report. I need help with the formula for column D to count the amount of cells in this row (will copy formula down for the rest of the column) that are above 00:00:00 in the Lateness headed Columns. In the image below, I would want this to display 1 for example as there was only 1 day this week this person was late. F5 - O5 is the row range, but F5 - AV5 is the whole row, whichever is easier to work with.

    For Total Late (Column C) I currently have a formula of: =SUMIF($F$3:$AV$3,"LATENESS",F5:AV5) which sums up the total lateness across the Row (F3 - AV3 is my range if this helps). I tried something similar to COUNTIF, but it was unsuccessful. If there is a shorter formula similar to this for the whole row, that would be great. However if the only way to do it is to calculate each week at a time, then add up the total of each week across the month, I can work with that too.

    Lateness.PNG

    Many thanks in advance!

    Edit: I currently have: =SUM(5-COUNTIF(F5:O5,"00:00:00")) which is long winded, but something I can work around.
    Edit: I now have: =SUM(20-COUNTIF(F5:AV5,"00:00:00")) with 20 being the amount of working days.
    Last edited by Literae; 05-12-2021 at 10:32 AM. Reason: SOLVED

  2. #2
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Lateness Tracker

    This should work for column D if you are wanting to count ALL instances within that row
    =COUNTIFS(F5:AV5,">00:00:00")

    Column C sound like if it found say 3 instances of anything greater than 00:00:00 it would take those 3 values and SUM them for a total in that column correct.
    I mean technically, you can just have a blanket sum across the whole row, since everything else will be 00:00:00, it will only sum the ones with values..
    Attached Files Attached Files
    Last edited by cubangt; 05-12-2021 at 09:48 AM.
    If you find the suggestion or solution helpful, please consider adding reputation to the post.

  3. #3
    Registered User
    Join Date
    04-21-2021
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft 365
    Posts
    13

    Re: Lateness Tracker

    Hi Cubangt,

    Sorry for the confusion, my Col C formula works fine. What I meant was that I thought I could try a similar formula for Col D. I was mentioning that as a reference if anyone could work out a similar formula as it was pretty much doing the same, but summing the Cells instead of counting them.

    However I tried your =COUNTIFS(F5:AV5,">00:00:00") and that gave me "16.00" in the first row, but there is only 1 occurrence of lateness (above 00:00:00) so not sure what went wrong there. I currently have:

    Attachment 732230

    This is using the formula: =SUM(20-COUNTIF(F5:AV5,"00:00:00")) with 20 being the amount of working days. I just had to change the range and working days for each tab/month which was a long way round, but arrived at the solution I needed.

    Thanks for your input anyway.

  4. #4
    Forum Contributor
    Join Date
    11-05-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    155

    Re: Lateness Tracker

    Hi Literae,

    you could have the following formula,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    That will look for all amounts in the Lateness columns and without the $ after the letter in the second half of the formula if you have multiple lines if you drag the formula down it will only pick up the line you're on.

    Hope that helps

  5. #5
    Registered User
    Join Date
    04-21-2021
    Location
    Gloucester, England
    MS-Off Ver
    Microsoft 365
    Posts
    13

    Re: Lateness Tracker

    Hi Farley945,

    Thats perfect. Thats the one I was looking for. I thought it would be similar to my =SUMIF($F$3:$AV$3,"LATENESS",F5:AV5) in Col C to sum up the total time late, but couldnt get it to work for the Countif version. I think I was getting the ">00:00:00" bit wrong.

    Thanks all for your help!

+ 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] chart a table of consistent lateness for one person in a range of names and times
    By Por2gal in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-23-2024, 10:35 PM
  2. [SOLVED] Lateness Tracker
    By Literae in forum Excel General
    Replies: 8
    Last Post: 04-22-2021, 05:20 AM
  3. Replies: 2
    Last Post: 01-22-2019, 12:43 PM
  4. [SOLVED] Help with Counting Number of Sickness/Lateness over a month on Summary
    By MrAshy in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-09-2018, 01:29 PM
  5. Help build a Leave tracker and Effort Time Estimation Tracker
    By cherias in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2015, 02:10 PM
  6. Need help with a lateness tracker.
    By MannyLNJ in forum Excel General
    Replies: 6
    Last Post: 12-30-2014, 12:01 PM
  7. System idle time tracker / Break Tracker
    By reetika05 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2014, 07:26 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