Vlookup vs Index/Match

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?

Thanks!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I prefer INDEX and MATCH as you only have to reference the two columns that interest you and not an entire table range. If you want to lookup multiple columns for a given row, you can also store the MATCH part in one cell and reference that number in multiple INDEX formulas so you only do the lookup part once, which is more efficient. If you want to lookup to the left, you can't use VLOOKUP anyway.
HTH
 
Upvote 0
I think...

If Same Condition...

Slow - Middle - Fast

vlookup/hlookup - index+match - lookup - offset + match
 
Upvote 0
i will post this in the chat and run a poll

I think you will find most prefer Index/Match over Vlookup.

1. It CAN go to the left
2. You only reference 2 columns instead of an entire 2D Range.

Example of how it is written

=VLOOKUP(A1,B:G,6,FALSE)
This references a 6 Column Range(65536 X 6 = 393216 Cells Loaded to memory)
And can only go to the right..

=INDEX(G:G,MATCH(A1,B:B,0))
This only references 2 1D Ranges (2 X 65536 = 131072 Cells Loaded to memory)

to make it go left
=INDEX(B:B,MATCH(A1,G:G,0))

Hope that helps...
 
Upvote 0
thanks for that Jonmo1. This means even in VBA the index/match combination is better:
Code:
 Application.WorksheetFunction.
syntax
 
Upvote 0

Forum statistics

Threads
1,222,682
Messages
6,167,604
Members
452,122
Latest member
Warwick89

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