The code below is used to halve the value in cell A (where the corresponding cell in column B is above 3). Is there any way to also highlight the cell in red (based on the same condition). So, if the corresponding cell in column B is above 3, it is halved AND highlighted Red:
Sub halveandcolorchange()
Dim cell As Range, rng As Range, A As Range, LastRow As Long
LastRow = Cells(Rows.Count, "B").End(xlUp).Row
Set rng = Range("B1:B" & LastRow)
For Each cell In rng
Set A = cell.Offset(0, -1)
If cell.Value > 3 Then A.Value = A.Value / 2
Next cell
End Sub