Vlookup vs Index/Match

Preferred lookup?

  • Vlookup

    Votes: 7 38.9%
  • Match/Index

    Votes: 11 61.1%

  • Total voters
    18
  • Poll closed .

iknowu99

Well-known Member
Joined
Dec 26, 2004
Messages
1,158
Office Version
  1. 2016
Hello All,

I have seen awhile back formulas that would emulate vlookup and would lookup not only to the right of the table array but also to the left and anywhere, i believe they used index formula and match formula in combination and it would act like vlookup/hlookup. Which way is faster for excel to calculate?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Oops, I accidentally voted for Vlookup, meant to vote for Index/Match.
Can a moderator correct it?
 
Ask yourself this, which of the two commits the smaller array to memory.

There's your answer.
icon12.gif


Edit: I might have to rethink that, Vlookup() would make one memory commitment, and Index(Match()) would make two. When in doubt, use a timer.

Still, you have to love the flexibility of Index(Match())
 
Last edited:
I think the two of them have their place.

If I want to quickly populate a column of data based from one column in another table of data I will often use Vlookup. It's quicker to type as well.

On the other hand Index and Match is far more flexible. One of my main uses for it is adding multiple columns of info from one table into another. In this case I will do the match in one column and then use multiple Index formulas in the other. Another advantage of match is that it has the 3 possible switches (-1,0,1) where Vlookup is limited to just the 2 (True, False).

Dom
 
Definitely horses for courses. If you need to look left, it's a no-brainer. If you are pulling data from many columns away, INDEX/MATCH too. For narrow tables, VLOOKUP is pretty good.
I also find that teaching VLOOKUP is easier than INDEX/MATCH -- it can take a bit to get your head around it initially.

And... INDEX/MATCH as an array lets you find the first non-zero value (eg, break-even point in a cash flow). So for flexibility it's the winner for me.

Denis
 
Last edited:
While I agree that the index match combination is much more flexible than the vlookup(left lookups, and multiple criteria), I would have to agree with Denis. I've had to many nightmares with updating the range of the index, but forgeting to update the match portion....ends up with valid looking results, that are totally wrong. (PS-I know that named ranges would eliminate this issue, but I didn't use them at the time I learn the index/match, and now I'm addicted to vlookup:-))
 
I think both are extremely useful tools in their respective contexts. For pulling data from pivot tables into reports, Vlookup is definitely the way to go. For pulling data into a chart or report based on one key field of data, then by all means, Index.
 
On a side note, on other boards like this that have polls, there is an option to see who has voted for which topic, is it just that the poll creator has disabled this option or is it not available (I have not created a poll so I don't know)?
 

Forum statistics

Threads
1,222,680
Messages
6,167,568
Members
452,120
Latest member
Luis_Macros

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top