ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup returns wrong answer (off by one row) (https://www.excelbanter.com/excel-worksheet-functions/194717-vlookup-returns-wrong-answer-off-one-row.html)

BAA

vlookup returns wrong answer (off by one row)
 


Peo Sjoblom

vlookup returns wrong answer (off by one row)
 
For future posts put the question the body ofg the message.

Sounds like you are using no range lookup value

=vlookup(lookup_value,table,column_index_range_loo kup)

=vlookup(a1,b2:c50,2,false)

if you don't use false (or zero) it will need the leftmost column sorted in
ascending order
and false also makes it look for the exact value and will return an error
otherwise but leaving it out or using true will lookup the largest value
less than or equal to the lookup value


--


Regards,


Peo Sjoblom



"BAA" wrote in message
...




Getz

vlookup returns wrong answer (off by one row)
 
If you have many things in the range is there something that you can put in
the range lookup to decipher it from others?

"Peo Sjoblom" wrote:

For future posts put the question the body ofg the message.

Sounds like you are using no range lookup value

=vlookup(lookup_value,table,column_index_range_loo kup)

=vlookup(a1,b2:c50,2,false)

if you don't use false (or zero) it will need the leftmost column sorted in
ascending order
and false also makes it look for the exact value and will return an error
otherwise but leaving it out or using true will lookup the largest value
less than or equal to the lookup value


--


Regards,


Peo Sjoblom



"BAA" wrote in message
...






All times are GMT +1. The time now is 04:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com