- Jan 2, 2006
- 10,455
- 35
- 91
Worksheet 1:
Column A has 50 unique item SKUs
Column B is empty - I want to populate this with prices from Worksheet 2.
Worksheet 2:
Column A has 4000 unique item SKUs including the 50 in worksheet 1.
Column B has the associated prices for these SKUs.
So in worksheet 1 Column B for the first SKU I type:
=vlookup(A1,'Worksheet 2'!A:B,2,FALSE)
Simple, right?
SKUs that are a mix of letters and numbers of the form 123456TL are looked up correctly and the prices are matched.
SKUs that are all numbers 123456 return a "Value Not Available" error.
I've already converted both SKU columns in both worksheets to the Text data type. Same error occurs if I convert all SKUs to the General data type.
What am I missing?
EDIT:
Same error when I input the values directly into the formula:
=vlookup(123456,'Worksheet 2'!A:B,2,FALSE)
But this works:
=vlookup("123456TL",'Worksheet 2'!A:B,2,FALSE)
Column A has 50 unique item SKUs
Column B is empty - I want to populate this with prices from Worksheet 2.
Worksheet 2:
Column A has 4000 unique item SKUs including the 50 in worksheet 1.
Column B has the associated prices for these SKUs.
So in worksheet 1 Column B for the first SKU I type:
=vlookup(A1,'Worksheet 2'!A:B,2,FALSE)
Simple, right?
SKUs that are a mix of letters and numbers of the form 123456TL are looked up correctly and the prices are matched.
SKUs that are all numbers 123456 return a "Value Not Available" error.
I've already converted both SKU columns in both worksheets to the Text data type. Same error occurs if I convert all SKUs to the General data type.
What am I missing?
EDIT:
Same error when I input the values directly into the formula:
=vlookup(123456,'Worksheet 2'!A:B,2,FALSE)
But this works:
=vlookup("123456TL",'Worksheet 2'!A:B,2,FALSE)