Not format in sense how the data is displayed, but what data is stored - is it just day or day with hours.
OK, let's solve this case.
The real issue is not with dates (not only with).
In B16 you have:
Planned and Cyclical maintenance (External Bulding Fabric)
while in B111 in second sheet:
Planned and Cyclical Maintenance (External Building Fabric)
can you spot the difference? i is missing in building
After correcting this we can return to main question of hours influence on date comparision..
if you want to count what happened before midnight on given day use less than givendate+1 instead of less or equal to givendate
so
=COUNTIFS('CL - FMD Calls'!$B:$B,$B16,'CL - FMD Calls'!$D:$D,"<"&'CL - FMD'!U$11+1,'CL - FMD Calls'!$E:$E,">"&'CL - FMD'!U$11)
and probably the same approach in second part (not tested it) so finally:
Formula:
=IF(COUNTIFS('CL - FMD Calls'!$B:$B,$B16,'CL - FMD Calls'!$D:$D,"<"&'CL - FMD'!U$11+1,'CL - FMD Calls'!$E:$E,">"&'CL - FMD'!U$11)>0,0,IF(COUNTIFS('CL - FMD Calls'!$B:$B,'CL - FMD'!$B16,'CL - FMD Calls'!$C:$C,"<"&'CL - FMD'!U$11+1,'CL - FMD Calls'!$A:$A,"Unresolved Non Compliant")>0,0,1))
Bookmarks