+ Reply to Thread
Results 1 to 5 of 5

Vlookup vs Index

  1. #1
    Registered User
    Join Date
    06-10-2018
    Location
    Thai
    MS-Off Ver
    2016
    Posts
    11

    Post Vlookup vs Index

    Can someone kindly provide me with some understanding, what are the difference between vlookup and index ?

    Which can actually find more values or they are equally the same. I'm currently using index. However i still hear debates regarding about vlookup.

    Thanks in advanced.

  2. #2
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Vlookup vs Index

    Hi,

    The Main difference is that VLOOKUP requires the match to be to the Right (Columns) of the Lookup Value, where INDEX/MATCH can be Left, Right, Up, or Down.

    By the same token, HLOOKUP requires the match to be Below (Rows) of the Lookup Value, and INDEX/MATCH does not.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Vlookup vs Index

    In a nutshell, vlookup cannot look "behind" itself, your search criteria must be in the 1st column of the search range. Also, in it's purest form, you need to know the column number to return (although this can be overcome using MATCH)
    INDEX returns the cell contents at the intersect of 2 2-d ranges, and as such, that intersect could be anywhere in the index range.

    I use VLOOKUP if I an working with a simple table of, say, name and phone number, I have a name and need the number.
    I would use INDEX (with MATCH) with a large table where I need a more complex search feature
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: Vlookup vs Index

    INDEX MATCH in its most basic form uses just two columns, whereas VLOOKUP might involve a very wide array, and often requires you to count columns in order to set it up, so unless it's a simple side-by-side lookup, I'd be inclined to use INDEX MATCH.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Vlookup vs Index

    Think of vlookup as the simple version of index & match, there for novice users who don't understand how to nest functions. Although, given how many questions there are on the forum with novice users trying to use vlookup incorrectly, referring to it as simple could be consedered a misnomer.

    Apart from less typing / thinking in very basic use, such as Ford's example
    Quote Originally Posted by FDibbins View Post
    I use VLOOKUP if I an working with a simple table of, say, name and phone number, I have a name and need the number.
    I can't think of any advantage to vlookup.

    Anything vookup can do, index & match can do (and faster).

    I do disagree with the comments that vlookup cannot look behind itself though, there is a way, but a pointless one. Index and match would be easier.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VLOOKUP or INDEX/MATCH with multiple column index numbers
    By cerebral87 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2017, 07:13 PM
  2. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  3. [SOLVED] ƒx Help (Vlookup, Index, IF) ?
    By T_BOLT in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-10-2014, 04:11 AM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. VLookup, IF, Index help please.
    By aopsahl7 in forum Excel General
    Replies: 1
    Last Post: 10-11-2011, 03:47 PM
  6. Vlookup or Index
    By xcell_user in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2007, 07:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1