Which calculates faster:
Range("G2").FormulaR1C1 = "=IFERROR(RC[-2]/RC[-1],0)" With Sheets("comp") .Range("G2").AutoFill .Range("G2:G" & .Cells(.Rows.Count, "A").End(xlUp).Row) End With
or
and why?Lastrow = Range("A" & Rows.Count).End(xlUp).Row Range("G2:G" & Lastrow).Formula ="=IFERROR(RC[-2]/RC[-1],0)"
Thank you!