Here's the macro and a sample sheet. Added a column AA to assist in the random calculation verification of changes. You can hide that row if it it's bothersome.
Private Sub Worksheet_Calculate()
Dim rng As Range, cell As Range, lastrow As Long
lastrow = Range("F" & Rows.Count).End(xlUp).Row
Set rng = Range("C1:C" & lastrow)
For Each cell In rng
If cell.Value <> cell.Offset(0, 24).Value Then
cell.Offset(0, 24).Value = cell.Value
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions.Delete
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions.Add Type:=xlExpression, Formula1:="=RC=""x"""
Select Case cell.Value
Case "Updated and checked"
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions(1).Interior.ColorIndex = 50
Case "Checked"
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions(1).Interior.ColorIndex = 43
Case "Change request"
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions(1).Interior.ColorIndex = 45
Case "Not checked"
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions(1).Interior.ColorIndex = 3
Case Else
Range(Cells(cell.Row, 6), Cells(cell.Row, 15)).FormatConditions(1).Interior.ColorIndex = xlNone
End Select
End If
Next cell
End Sub
EDIT: staring at that code, I realized I could shorten it a great deal.
Bookmarks