Thanks for your reply Ford. I've attached a file and altered my second lot of code as follows. Both efforts should produce the same result in the sample file Sheet 1, but I hadn't got to the IF statement with the first attempt, so it only looks at one column (if it worked), so sheet 2 would give a different result for the first lot of code.
Appreciate any help you can provide. I need to go out for a few hours, so please don't think me rude if I don't respond to any further advice immediately.
Steve
Sub ProcessStuff2()
Dim RngColF As Range
Set RngColF = Range("f2", Range("f" & Rows.Count).End(xlUp))
Sheets("1").Activate
With RngColF.Offset(, 4)
.FormulaR1C1 = "=if(or(R14C35=""Sally"",R14C35=""Tony""),Base!r2C11:R25c11,Base!r2C10:R25c10)"
End With
Sheets("2").Activate
Set RngColF = Range("f2", Range("f" & Rows.Count).End(xlUp))
With RngColF.Offset(, 4)
.FormulaR1C1 = "=if(or(R14C35=""Sally"",R14C35=""Tony""),Base!r26C11:R50c11,Base!r26C10:R50c10)"
End With
'Sheets("3").Activate
'Etcetera
End Sub
Bookmarks