For each policy, there is a premium and 20 percentages that are used in order to allocate the premium into certain funds. The R1C1 formula below is always referencing the first policy's premium ($D$2) when autofilled. Is there a way to make it reference D2 to correct the autofill problem or perhaps there's another solution, maybe a non R1C1 formula, if those exist?
Code:
For y = 0 To 95 Step 5
Range("Y2").Offset(0, y).Select
Selection.EntireColumn.Insert , CopyOrigin:=xlFormatFromLeftOrAbove
ActiveCell.FormulaR1C1 = "=RC[-3]/100*R2C4"
Range("Y2").Offset(0, y).AutoFill Destination:=Range(Range("Y2").Offset(0, y), _
Range("Y2").Offset(lastRow - 2, y)), Type:=xlFillDefault
Next y