charliemike9285
New Member
- Joined
- Jan 21, 2023
- Messages
- 14
- Office Version
- 365
- Platform
- Windows
- MacOS
- Web
I have 3 different groups of employees (RN, PCA, UAA). For the simplicity of this post I've only included a few of the results for PCAs.
I can't figure out what I'm doing wrong in the yellow cells - formulas to count the # of times one of those categories clocked out > 30 mins (0:30) late and the average of the times they left late.
I think it has to do with the fact that the formula I had to use in column R to be able to get negative times to show (if they clocked out early) is in text format because of the formula TEXT(ABS()).
*I cannot use the 1904 time in options though because "options" is locked due to it being a company computer/program*
Current formula for "# of times left late":
=SUMIFS(Table19[Column1],Table19[Job Code Description], [@[Job Desc]],Table19[Time left late (h:mm)], ">0:30")
Current formula for "Avg of time left late (h:mm)":
=AVERAGEIFS(Table19[Time left late (h:mm)], Table19[Job Code Description], [@[Job Desc]], Table19[Time left late (h:mm)], "<>0")
I'm hoping it's just a simple error with how I'm writing the condition of >30mins.....any help would be greatly appreciated, thanks!
I can't figure out what I'm doing wrong in the yellow cells - formulas to count the # of times one of those categories clocked out > 30 mins (0:30) late and the average of the times they left late.
I think it has to do with the fact that the formula I had to use in column R to be able to get negative times to show (if they clocked out early) is in text format because of the formula TEXT(ABS()).
*I cannot use the 1904 time in options though because "options" is locked due to it being a company computer/program*
Current formula for "# of times left late":
=SUMIFS(Table19[Column1],Table19[Job Code Description], [@[Job Desc]],Table19[Time left late (h:mm)], ">0:30")
Current formula for "Avg of time left late (h:mm)":
=AVERAGEIFS(Table19[Time left late (h:mm)], Table19[Job Code Description], [@[Job Desc]], Table19[Time left late (h:mm)], "<>0")
I'm hoping it's just a simple error with how I'm writing the condition of >30mins.....any help would be greatly appreciated, thanks!
Employee Clocking Times.xlsx | |||||||
---|---|---|---|---|---|---|---|
T | U | V | W | X | |||
2 | Job Desc | Total Shifts | # Times left late | Avg Mins left late | Column1 | ||
3 | RN | 667 | 0 | #DIV/0! | |||
4 | PCA | 344 | 0 | #DIV/0! | |||
5 | UAA | 61 | 0 | #DIV/0! | |||
reg time format |
Cell Formulas | ||
---|---|---|
Range | Formula | |
U3:U5 | U3 | =COUNTIFS(Table19[Job Code Description], [@[Job Desc]]) |
V3:V5 | V3 | =SUMIFS(Table19[Column1],Table19[Job Code Description], [@[Job Desc]],Table19[Time left late (h:mm)], ">0:30") |
W3:W5 | W3 | =AVERAGEIFS(Table19[Time left late (h:mm)], Table19[Job Code Description], [@[Job Desc]], Table19[Time left late (h:mm)], "<>0") |
Cell Formulas | ||
---|---|---|
Range | Formula | |
I31:I65 | I31 | =TEXT([@[Shift End Time (Mil)]], "hh:mm AM/PM") |
K31:K65 | K31 | =TEXT([@[In Time3]], "hh:mm AM/PM") |
N31:N65 | N31 | =IF([@Shift]="PM",([@[Clock Date]]+1),"") |
O31:O65 | O31 | =TEXT([@[Out Time3]], "hh:mm AM/PM") |
R31:R65 | R31 | =IF([@[Clock-Out Time]]-[@[Shift End Time]]>=0, TEXT([@[Clock-Out Time]]-[@[Shift End Time]], "h:mm"),TEXT(ABS([@[Clock-Out Time]]-[@[Shift End Time]]),"-h:mm")) |