Trouble with Vlookup

  • Thread starter Thread starter Hawksby
  • Start date Start date
H

Hawksby

Afternoon all,

I have a field of text which is starts with a number and basically what i'm
tring to do is use this number in a vlookup to return a value in another cell.

The fomula that i'm using is =vlookup(left(A1,1),Range of table,2,False)

The problem seems to be with the way in which the fomula is treating the
value from the left part of the formula. Does anyone know how i can get
around this?
 
Hi

As Left() function is a text function, it return a string, so you need to
convert the result to a value:

=vlookup(Value(left(A1,1)),Range of table,2,False)

Regards,
Per
 
Try, which worked for me.

=vlookup(Value(left(A1,1)*1,Range of table,2,False)


Regards,
Howard
 

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

Similar Threads

Vlookup error? 6
Excel Vlookup Help 0
How to make a column of formulas all ROUND 1
Excel IF statement with vlookup 2
VLOOKUP returning #N/A result 2
VLookup 1
vlookup with numbers 10
EXCEL - IF(IFERROR(VLOOKUP question 0

Back
Top