Ok, discard the conditional format.
Try this macro.
Sub ColorCells()
Dim cl As Long, i As Long
Dim LastR As Long, LastC As Long
Dim StatusC As Long, TimeC As Long
Dim r1 As Range, r2 As Range, r3 As Range
Dim t1 As Range, t2 As Range, t3 As Range
Dim bkgColor As Long
Dim w As Worksheet
Const kFail As String = "Failed"
bkgColor = vbYellow 'red RGB(255, 0, 0)
' Worksheets Loop
For Each w In Worksheets
w.Select
LastR = w.Cells(Rows.Count, "A").End(xlUp).Row
LastC = w.Cells(2, Columns.Count).End(xlToLeft).Column
StatusC = 0
TimeC = 0
' Detect time and status column
For cl = 1 To LastC
Select Case w.Cells(1, cl)
Case "status"
StatusC = cl
Case "time"
TimeC = cl
End Select
Next cl
if StatusC=0 or TimeC=0 then
' Columns not found
exit for
end if
' Start from row 4 (First are header)
For i = 4 To LastR
Set r1 = w.Cells(i, StatusC)
Set r2 = r1.Offset(-1, 0)
Set r3 = r1.Offset(-2, 0)
If r1.Value = kFail And _
r2.Value = kFail And _
r3.Value = kFail Then
Set t1 = w.Cells(i, TimeC)
Set t2 = t1.Offset(-1, 0)
Set t3 = t1.Offset(-2, 0)
If (t1.Value - t3.Value) <= (1 / 96) Then
Union(r1, r2, r3).Interior.Color = bkgColor
Union(t1, t2, t3).Interior.Color = bkgColor
End If
End If
Next i
Next
End Sub