When I run this sub it uses the formula in last line and paste's it throughout the sheet.
HTML Code:Sub Replacecellwithformula() Range("G2:G25" & Columns("F").Find("A").Row).Formula = "=A2+D2" Range("G2:G25" & Columns("F").Find("B").Row).Formula = "=A2-B2" End Sub
I am trying to get the results in the sheet attached.
Kindly help.........
Best regards