I am really not sure what you are trying to do now (and it is frustrating when you craft a solution - and then they change the requirements on you), so I will explain the sections of the code you may need to change so you can edit it yourself.
The first, is to identify which column you are entering data in to trigger the code to run. That is this line of code here:
Rich (BB code):
If Target.Column = 5 And Target.Row >= 2 Then
Originally it was column "E", which is the 5th column ("E" is the 5th letter of the alphabet).
So you would just change the number 5 to match whatever column data is being entered into.
Next, we need to define the range of our lookup table:
Rich (BB code):
Set rng = Range("A2:D" & lr)
Assuming that you are still starting in column A, I think the only thing you may need to change is your ending column ("D").
Then, you need to update the line of code that does the lookup and places the value in the appropriate cell:
Rich (BB code):
Target.Offset(0, 1) = Application.WorksheetFunction.VLookup(Target, rng, 3, True)
It is important to understand what "Target" is in these VBA procedures. "Target" is the range which triggers the code to run. So, in the first example, it was column E.
It is dynamic. So it was whatever cell in column E was just updated.
We wanted to place the first lookup in column F, so we started in the Target cell, and moved over one column to the right (that is what
.Offset(0,1) does).
The format of Offset is
Offset(rows, columns).
Judging from your original work you posted, I assume that you know how VLOOKUP works. So the only thing that should change in the formulas in the code is the third argument, which tell it which column from our lookup range to return (3rd in the line above).
In the original code I posted, we had to lines of code, to return the values to column F and G. To return more, just add similar ones, making the appropriate adjustment.
So based on the original code that I gave you, and the explanation above, you should be able to modify the code to do what you need.