Index/Match volatility v. vLookup

dmj120

Active Member
Joined
Jan 5, 2010
Messages
286
Office Version
  1. 365
  2. 2019
  3. 2010
In your experience, is index/match better than vLookup regarding volatility?? I have another very large workbook, hence the concern.

I've tried to google and found the below from Volatile Excel Functions -Decision Models.

Excel’s Volatile Functions
Some of Excel’s functions are obviously volatile: RAND(), NOW(), TODAY()
Others are less obviously volatile: OFFSET(), CELL(), INDIRECT(), INFO(), RANDBETWEEN(), RANDARRAY()
Some are volatile in some versions of Excel but not in others: INDEX()became non-volatile in Excel 97
A number of functions that are documented by Microsoft as volatile do not actually seem to be volatile when tested:
INDEX(), ROWS(), COLUMNS(), AREAS()
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
is index/match better than vLookup regarding volatility??
Yes, but the effect depends on the particular circumstances.
Example

23 01 10.xlsm
ABCDECA
1a1a1
2b2b2
3c3c3
4d4d4
5e5e5
6f6f6
7g7g7
8h8h8
9i9i9
10j10j10
11
12
13d4d4
1444
Sample
Cell Formulas
RangeFormula
B13B13=INDEX(B1:B10,MATCH(A13,A1:A10,0))
B14B14=VLOOKUP(A13,A1:B10,2,0)
CA13CA13=INDEX(CA1:CA10,MATCH(E13,E1:E10,0))
CA14CA14=VLOOKUP(E13,E1:CA10,75,0)


In terms of volatility ..
B13 will recalculate if any cell in A1:A10 or B1:B10 or A13 changes (ie if any one of 21 cells change)
B14 will recalculate if any cell in A1:A10 or B1:B10 or A13 changes (ie if any one of 21 cells change)
No difference between Index/Match and Vlookup here

CA13 will recalculate if any cell in E1:E10 or CA1:CA10 or E13 changes (ie if any one of 21 cells change)
CA14 will recalculate if any cell in E1:CA10 or E13 changes (ie if any one of 751 cells change)
So here there is much more possibility of the CA14 Vlookup formula recalculating and if it recalculates because something in the columns that I have hidden change it is a wasted recalculation as it will not change the formula result. On the other hand if that hidden data is static & never changes then CA14 is actually no more volatile than CA13.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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