Vlookup not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using VLOOKUP with a range of part refs some are numeric only, some are
alphanumeric.

My lookup is working fine with the alphanumerics, but not the numerics.
Please help. I have tried formatting all refs in each worksheet as text to
no avail.
 
Formatting a cell to text won't change the value.

You'll have to do more to convert the number numbers to text.

If the lookup table has real text in it and there are real numbers in the value
to lookup, you could change your formula:

=vlookup(a1&"",.....

By concatenating the empty string "" to the value, you've made it text.

You could do the same thing in another column:
=a1&""
and drag down
then convert to values
and delete the original column of data.

=====
If you have to fix both the lookup table's key column and a column to match, you
could use:

Data|Text to columns
fixed width
(don't separate anything)
Choose Text as the field type.
(be aware that this will eliminate both leading and trailing spaces, though.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top