#1   Report Post  
Posted to microsoft.public.excel.misc
Newbie
 
Posts: n/a
Default Vlookup and Match

Maybe a stupid question .. but what exactly is the difference in function?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Vlookup and Match

VLOOKUP allows you to find an entry in a list and return a value that
is a given number of columns away from that entry. This can be a text
string or numeric value.

MATCH returns an integer number of the row within a range that matches
the entry in question.

You can next a MATCH function within an INDEX function and perform an
operation very similar to a VLOOKUP, because the INDEX function works
on a grid-type array of data.

  #3   Report Post  
Posted to microsoft.public.excel.misc
Newbie
 
Posts: n/a
Default Vlookup and Match

Thanks Dave. That is what I thought. I use Index, match and offset to
return values outside of the specified array, where vlookup seems limited eg:

=OFFSET(INDEX(samplearray,MATCH(C10,col,0),MATCH(C 11,row,0)),-2,-3)

but thought I was missing something!



"Dave O" wrote:

VLOOKUP allows you to find an entry in a list and return a value that
is a given number of columns away from that entry. This can be a text
string or numeric value.

MATCH returns an integer number of the row within a range that matches
the entry in question.

You can next a MATCH function within an INDEX function and perform an
operation very similar to a VLOOKUP, because the INDEX function works
on a grid-type array of data.


  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Vlookup and Match

VLOOKUP looks in an mxn array, and returns the value in the row that the
lookup value is in, offset by the column offset number.

MATCH looks in either an mx1 or 1xn array, and just returns the index of the
matched item within the lookup range.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Newbie" wrote in message
...
Maybe a stupid question .. but what exactly is the difference in function?



  #5   Report Post  
Posted to microsoft.public.excel.misc
Dark_Templar
 
Posts: n/a
Default Vlookup and Match


An other important difference between vlookup and index&match is that
when using vlookup the look-up value needs to be in the leftmost
column.

Index&match doe not require that.

ie vlookup:

Col A Col B Col C
1 A HI
2 B Bye
3 C Yes
4 D No

If your lookup value was in Col B (lets say "B"), you could not look up
values form Col A ("2")

You could do it with index & match though.


--
Dark_Templar
------------------------------------------------------------------------
Dark_Templar's Profile: http://www.excelforum.com/member.php...o&userid=33279
View this thread: http://www.excelforum.com/showthread...hreadid=542246

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
Partial String Match Using VLOOKUP cdhmotes Excel Worksheet Functions 4 December 26th 05 10:26 PM
Tricky ... Pullout related rows that match a single word using Vlookup YJL Excel Discussion (Misc queries) 18 November 14th 05 08:22 AM
can vlookup be forced to make a case sensitive match? alan Excel Discussion (Misc queries) 1 September 22nd 05 12:59 PM
is there a way to search with vlookup to match more than 1 column puppy Excel Discussion (Misc queries) 7 June 30th 05 07:41 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


All times are GMT +1. The time now is 04:39 AM.

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

About Us

"It's about Microsoft Excel"