Basically here's the snippet that doesn't work:
Range("AL2").Select
Application.CutCopyMode = False
ActiveCell.FormulaR1C1 = "=AVERAGE(R[" + CStr(3814 - 30) + "]C[-9]:R[" + CStr(3814) + "]C[-9])"
I would expect cell AL2 to read : "=AVERAGE(AC3784:AC3814)" but instead it reads "=AVERAGE(AC3786:AC3816)"
Why are the numbers 2 larger than I expected? Does it have to do with the selected range being row 2?