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.
Bookmarks