Sub Test()
With ActiveSheet
With .Range("J2:J" & .Cells(Rows.Count, 10).End(xlUp).Row)
.Formula = "=IF(H2=""NO"",""NO Part Reqd"",""Yes part Reqd"")"
End With
End With
End Sub
ThanksAnother method
Code:Sub blah() With Sheet1 i& = .Cells(Rows.Count, 1).End(xlUp).Row .[J2].Resize(i - 1).Formula = "=IF(H2=""NO"",""NO Part Reqd"",""Yes part Reqd"")" End With Dear Sir @YasserKhalil & @Nebu . Effactive use of resize property. Just great. [quote="Nebu, post: 234876, member: 17440"]Another method [CODE]Sub blah() With Sheet1 i& = .Cells(Rows.Count, 1).End(xlUp).Row .[J2].Resize(i - 1).Formula = "=IF(H2=""NO"",""NO Part Reqd"",""Yes part Reqd"")" End With End Sub
Thanks, not so amazing as just mixing Excel basics (a formula)Apply count & evaluate is also amazing.