Hi, I am trying to loop through a dynamic array B2:G and results on M:V and this is what I tryed.
Sub Monte_carlo()
With Range("M2:M" & Cells(Rows.Count, "B").End(xlUp).Row)
.FormulaR1C1 = "=IF(RC[-11]="""","""",IF(MOD(RC[-11],12)=0,""E"",""P""))"
.Value = .Value
End With
With Range("N2:N"...