Nate beat me to it, and with a nice code too I might add, but since I had worked this up I thought I would reply anyway. It highlights the same two rows that you highlighted in the 'sample' spreadsheet, so I hope it will work on your entire set of data.
Dim rw As Long
Sub sample()
For rw = 1 To Cells(Rows.Count, 1).End(xlUp).Row
Select Case UCase(Cells(rw, 5).Value)
Case "BLD", "EOW", "INLSW"
If Cells(rw, Columns.Count).End(xlToLeft).Column <> 7 Then
Range(Cells(rw, 1), Cells(rw, 20)).Interior.ColorIndex = 3
End If
Case "ED", "ER"
If Cells(rw, Columns.Count).End(xlToLeft).Column <> 6 Then
Range(Cells(rw, 1), Cells(rw, 20)).Interior.ColorIndex = 3
End If
Case "CP", "TBKR", "CLW", "NG"
If Cells(rw, Columns.Count).End(xlToLeft).Column <> 5 Then
Range(Cells(rw, 1), Cells(rw, 20)).Interior.ColorIndex = 3
End If
Case "XCLW"
If Cells(rw, Columns.Count).End(xlToLeft).Column <> 9 Then
Range(Cells(rw, 1), Cells(rw, 20)).Interior.ColorIndex = 3
End If
End Select
Next rw
End Sub
Christ's Peace and Best of Luck
Bookmarks