Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BAA BAA is offline
external usenet poster
 
Posts: 1
Default vlookup returns wrong answer (off by one row)


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default 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
...



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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
...




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cosine Function Returns Wrong Answer! Gordon Arnaut Excel Discussion (Misc queries) 16 April 3rd 23 02:24 PM
VLOOKUP Formula Returns the Wrong Results. Greg Excel Worksheet Functions 3 June 2nd 08 08:11 AM
Using Indirect in a Sumif Function returns the wrong answer Grahin Excel Discussion (Misc queries) 4 December 21st 07 02:11 PM
Vlookup Returns Wrong/No Data TomCat Excel Worksheet Functions 3 October 7th 07 01:19 PM
Logic statement returns wrong answer. Tony Excel Worksheet Functions 2 December 2nd 04 05:07 AM


All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"