Yes but no need for the "" around the 5

If c.Value = 5 Then c.Offset(, 1).Value = c.Offset(, 2).Value