I'm just trying to simply copy down my formula to the last row, and recording the macro works, but gives me a hard coded row number:
Range("F2").Select
ActiveCell.FormulaR1C1 = "=IF(RC[-5]=RC[-4],""PASS"", ""FAIL"")"
Selection.AutoFill Destination:=Range("F2:F2502")
I've seen a few submissions who use lastrow or filldown instead of autofill which supposedly solves this problem, but I haven't been able to get it to work in my own situation.
The formula is =IF(A2=B2,"PASS","FAIL")
Any help is greatly appreciated.