Hi, I have a simple with formula but it's not copying down correctly.
A2 in the the .FormulaArray is supposed to continually progress as it's copied downward. It should go to A3, then A4, then A5, and so on. But it stays locked at A2.
Could anyone help with that please?
Thanks!
Code:
Sheets("WOs (DSP Only)").Select
With Worksheets("WOs (DSP Only)")
With .Range("A2:A" & Lastrow)
.Formula = "=L2&""-""&K2&""-""&Z2&""-""&X2"
End With
With .Range("B2:B" & Lastrow)
.FormulaArray = "=PERCENTILE.INC(IF($A$2:$A$" & Lastrow & "=A2,$AF$2:$AF$" & Lastrow & "),.5)"
End With
End With
A2 in the the .FormulaArray is supposed to continually progress as it's copied downward. It should go to A3, then A4, then A5, and so on. But it stays locked at A2.
Could anyone help with that please?
Thanks!