Sub Do_Sum() With ActiveCell If .Column > 4 Then .FormulaR1C1 = "=Sum(RC[-4]:RC[-1])" End If End With End Sub