I am trying to use a vlookup formula to pull information from one sheet to another. The problem is that my ID column has many duplicate ID's but each ID has a different quantity and vlookup always pulls the quantity from the first ID in the array. For example:
ID Original Vlookup
Lugo 1 1
Pedroia 2 2
Ortiz 3 3
Ramirez 4 4
Drew 5 5
Youkilis 6 6
Lowell 7 7
Varitek 8 8
Crisp 9 9
Lugo 4 1
Pedroia 5 2
Ortiz 6 3
Ramirez 7 4
Drew 8 5
Youkilis 95 6
Lowell 3 7
Varitek 2 8
Crisp 1 9
Total 176 90
Is there any way I can fix this so that it uses the correct quantity for each ID and not just the first quantity it encounters?
Thanks a lot for your help.
ID Original Vlookup
Lugo 1 1
Pedroia 2 2
Ortiz 3 3
Ramirez 4 4
Drew 5 5
Youkilis 6 6
Lowell 7 7
Varitek 8 8
Crisp 9 9
Lugo 4 1
Pedroia 5 2
Ortiz 6 3
Ramirez 7 4
Drew 8 5
Youkilis 95 6
Lowell 3 7
Varitek 2 8
Crisp 1 9
Total 176 90
Is there any way I can fix this so that it uses the correct quantity for each ID and not just the first quantity it encounters?
Thanks a lot for your help.