Link to home
Start Free TrialLog in
Avatar of k1ng87
k1ng87

asked on

vlookup off by one row in range

So I have a vlookup that hits a range but the value one row below in some cases. I've noticed that it happens when the look up value is at the beginning of the range it falls under.

I've attached an excel file showing the issue.
vlookup.xls
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

This spreadsheet contains no vlookup formulas unless i am missing something?
Avatar of k1ng87
k1ng87

ASKER

shoud be in cell E28
You idea of a RANGE Lookup and Microsofts are very different!

Your cells in A28 reading down really need to have the whole table inserted.  EACH item on a row of its own.

010-024

IS NOT A RANGE

It is a string of chars that is treated as a whole string.
Avatar of k1ng87

ASKER

so how should I adjust it then? and how come it works for numbers that fall "inside" the range?
ASKER CERTIFIED SOLUTION
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try this formula:
=IF(ISERROR(INDEX($A$28:$B$204,MATCH(D28 & "*",$A$28:$A$204,0),2)),
INDEX($A$28:$B$204,MATCH(D28 & "*",$A$28:$A$204,1),2),
INDEX($A$28:$B$204,MATCH(D28 & "*",$A$28:$A$204,0),2))
Also note that the data in YOUR column A has a mixture of both numeric and text entries in the cells. VLOOKUP will not function correctly with this mixture.