Sean15
Well-known Member
- Joined
- Jun 25, 2005
- Messages
- 684
- Office Version
- 2010
- Platform
- Windows
Hello
I have a worksheet with several hundred rows of name and numbers in column K. I want to be able to assign a code in column L to each name and number in column K. I figured the simplest way is to set up an array table and use VLOOKUP to return the assigned code. The problem is data in column K changes constantly (slight variation though) so I am not sure how to set the array table or how to make VLOOKUP work.
Example
K2 = dolrtree 4766 0004745
But the next time I receive worksheet,
K2 = dolrtree 4856 0004896
See name in K2 is constant but the number changes.
The array table I believe could be created using name, excluding number. So an example of array table would be:
A2 = dolrtree B2 = 75150 (column B would contain assigned codes)
How can I make the VLOOKUP work when lookup value in K2 is differ from value in array table? Am I doing in the right way?
Regards,
Sean
I have a worksheet with several hundred rows of name and numbers in column K. I want to be able to assign a code in column L to each name and number in column K. I figured the simplest way is to set up an array table and use VLOOKUP to return the assigned code. The problem is data in column K changes constantly (slight variation though) so I am not sure how to set the array table or how to make VLOOKUP work.
Example
K2 = dolrtree 4766 0004745
But the next time I receive worksheet,
K2 = dolrtree 4856 0004896
See name in K2 is constant but the number changes.
The array table I believe could be created using name, excluding number. So an example of array table would be:
A2 = dolrtree B2 = 75150 (column B would contain assigned codes)
How can I make the VLOOKUP work when lookup value in K2 is differ from value in array table? Am I doing in the right way?
Regards,
Sean
Last edited: