Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Some rules about Vlookup

Most posts are about something that doesnt work ,This is about
something that works but shouldn't work
I have read in many places the vlookup only works with first column
data -but I have tried it with other columns and it seems to work -
What are the real rules for Vlookup ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Some rules about Vlookup

The second parameter in VLOOKUP defines the table where you are trying
to find a match. The lookup_value (the first parameter) is compared
with values in the first column of that table. Your table might be
defined as C$2:F$100 in the formula (with other values in columns A
and B), but the formula will search column C for a match as that is
the first column in the table.

Hope this helps.

Pete



On Jan 26, 1:25*am, JohnC wrote:
Most posts are about something that doesnt work ,This is about
something that works but shouldn't work
I have read in many places the vlookup only works with first column
data -but *I have tried it with other columns and it seems to work -
What are the real rules for Vlookup ?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Some rules about Vlookup

From help on VLOOKUP

VLOOKUP(lookup_value,table_array,col_index_num,ran ge_lookup)

Lookup_value is the value to be found in the first column of the array.
Lookup_value can be a value, a reference, or a text string.

Show us one of your formulas that works if a column is not first in the in
the table_array.


Gord Dibben MS Excel MVP


On Mon, 25 Jan 2010 17:25:24 -0800 (PST), JohnC
wrote:

Most posts are about something that doesnt work ,This is about
something that works but shouldn't work
I have read in many places the vlookup only works with first column
data -but I have tried it with other columns and it seems to work -
What are the real rules for Vlookup ?


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
how do I set up a validation rules with two data rules Trudy Excel Worksheet Functions 1 October 16th 06 05:42 AM
How can I alter the rounding rules? Greg Excel Worksheet Functions 3 April 15th 06 06:31 AM
Basic Formula rules Stan Excel Worksheet Functions 2 January 25th 05 12:28 AM
Rules for Sheet names sparky Excel Discussion (Misc queries) 4 January 12th 05 06:27 AM
Exceptions to Validation Rules Jim Johnson Excel Worksheet Functions 5 November 7th 04 01:04 PM


All times are GMT +1. The time now is 11:30 PM.

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"