Here is what I am using...
Ok, here is where it gets tricky.. Right now its simply counting, but what I need it to do is to sum col L if col A matches col K.. Col L contains numbers, and I need a sum of those numbers if the match occurs in A & K. Can anyone help?
Code:
With Range("H2:H5000")
.FormulaR1C1 = "=SUMPRODUCT(('Data Sheet'!R2C11:R5000C11=RC1)*('Data Sheet'!R2C81:R5000C81=""G - Prior policy incident handling errors""))"
.Copy
.PasteSpecial Paste:=xlPasteValues
End With
Ok, here is where it gets tricky.. Right now its simply counting, but what I need it to do is to sum col L if col A matches col K.. Col L contains numbers, and I need a sum of those numbers if the match occurs in A & K. Can anyone help?