I have the following VBA formula, which is not working. if i just have the formula in a cell, it works just fine:
Range("AI4").Select
ActiveCell.FormulaR1C1 = "=IFERROR(RC[-3]/(RC[-15]-RC[-24]), "")"
as a formula it would just be =iferror(AF4/(T4-K4), "")