VLOOKUP question

goodmachine

Board Regular
Joined
Oct 7, 2009
Messages
70
The table array that contains the data I want to look up has some items that have leading 0's, alphanumeric and only numbers. The data is stored as text, so excel is returning the number is formatted as text error. Because of this error, some of the data items are not getting picked up when I execute my VLOOKUP.

I could format the cells to numbers, but then I lose the leading zeros that I want to keep. If the leading zeros are lost, then SKU id integrity is gone.

How can I get my VLOOKUP to work for all of the items in the table array if the values are stored as text?

Thanks for any help.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Vlookup works on text, I use it against UPC's all the time. Can you post some sample data?
 
Upvote 0

Forum statistics

Threads
1,215,427
Messages
6,124,831
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top