A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Vlookup questions



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2009, 01:12 PM posted to microsoft.public.excel.worksheet.functions
Steve
external usenet poster
 
Posts: 2,662
Default Vlookup questions

Table (leftmost) must be in ascending order. Then is it correct that you
cannot use the same table to look for a different value in a different column
?
Also, if it is not in ascending order, is it true that some of the values
may still be correct, but some are incorrect.

Thanks,

Steve

  #2  
Old April 21st, 2009, 01:30 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Vlookup questions

Hi Steve,
with vlookup it's true, but you have other options to look for values or
text like sumproduct, index and match, where you don't need to have
evertything in the leftmost column or ordered in ascending order look at
Debra web it will give an idea or the other options

http://www.contextures.com/xlFunctions03.html

http://www.contextures.com/xlFunctions05.html

If this was helpful please click Yes. thanks



"Steve" wrote:

Table (leftmost) must be in ascending order. Then is it correct that you
cannot use the same table to look for a different value in a different column
?
Also, if it is not in ascending order, is it true that some of the values
may still be correct, but some are incorrect.

Thanks,

Steve

  #3  
Old April 21st, 2009, 01:31 PM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Vlookup questions

Hi,

Use 0 as the last argument of the VLOOKUP() function - If you use a 0, then
you do not need to ensure that the first column be in ascending order.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Steve" wrote in message
...
Table (leftmost) must be in ascending order. Then is it correct that you
cannot use the same table to look for a different value in a different
column
?
Also, if it is not in ascending order, is it true that some of the values
may still be correct, but some are incorrect.

Thanks,

Steve

  #4  
Old April 21st, 2009, 01:34 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Vlookup questions

Steve,

When using Vlookup there is an optional switch of TRUE/FALSE as the last
argument of the formula. TRUE finds a near match if there is no exact match
and for this to work correctly the leftmost column must be sorted. If FALSE
is specified then then the column need not be sorted.

If VLOOKUP can't find lookup_value, and range_lookup is TRUE, it uses the
largest value that is less than or equal to lookup_value.

Miike


"Steve" wrote:

Table (leftmost) must be in ascending order. Then is it correct that you
cannot use the same table to look for a different value in a different column
?
Also, if it is not in ascending order, is it true that some of the values
may still be correct, but some are incorrect.

Thanks,

Steve

  #5  
Old April 22nd, 2009, 09:44 PM posted to microsoft.public.excel.worksheet.functions
Steve
external usenet poster
 
Posts: 2,662
Default Vlookup questions

Thanks guys....

I think that false statement is going to work just fine.

Thanks again,

Steve

"Mike H" wrote:

Steve,

When using Vlookup there is an optional switch of TRUE/FALSE as the last
argument of the formula. TRUE finds a near match if there is no exact match
and for this to work correctly the leftmost column must be sorted. If FALSE
is specified then then the column need not be sorted.

If VLOOKUP can't find lookup_value, and range_lookup is TRUE, it uses the
largest value that is less than or equal to lookup_value.

Miike


"Steve" wrote:

Table (leftmost) must be in ascending order. Then is it correct that you
cannot use the same table to look for a different value in a different column
?
Also, if it is not in ascending order, is it true that some of the values
may still be correct, but some are incorrect.

Thanks,

Steve

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:41 PM.


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