Hello,
I need to add a Vlookup to my VBA code for the following:
The main sheet is called 'Master Sheet' and the table array is in a sheet titled 'Leader Reference'
=VLOOKUP(K2, 'Leader Reference'!A$2:B$607, 2, FALSE)
The return value is going to start in L2 then L3, L4 and so on, on the Master Sheet and continue down. The number of rows vary each week on the report so I don't know what the last row in column L will be with the data.
I need help adding the above VLOOKUP formula to VBA so it will loop down each row of column K until the end of the sheet. If there is no value returned, I want it to say "N/A" in column L.
I need to add a Vlookup to my VBA code for the following:
The main sheet is called 'Master Sheet' and the table array is in a sheet titled 'Leader Reference'
=VLOOKUP(K2, 'Leader Reference'!A$2:B$607, 2, FALSE)
The return value is going to start in L2 then L3, L4 and so on, on the Master Sheet and continue down. The number of rows vary each week on the report so I don't know what the last row in column L will be with the data.
I need help adding the above VLOOKUP formula to VBA so it will loop down each row of column K until the end of the sheet. If there is no value returned, I want it to say "N/A" in column L.