so this was me just turning on the macro recorder to see how to program what I want....this is a great technique to learn stuff, BUT, it doesn't make it very dynamic....so you'll have to figure last rows so if you change the size of the data set code will work...
Sub Macro1()
'
' Macro1 Macro
'
'
Range("B4").Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-1],COUNT!R1C1:R5612C3,3,0)"
Range("B4").Select
Selection.AutoFill Destination:=Range("B4:B223")
Range("B4:B223").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
Bookmarks