You are using MATCH()
to look in $A:$A
which is an abbreviation for A1:A1048576
. The result is the actual row, where the value can be found (let’s say for example it is row 1000
). Now you put that value into INDEX()
, whose range has a starting point of A2
(which is row 1 of the index range; indices in INDEX()
are relative to the upper left cell of the range). Now 1+1000=1001
and you get the value in row 1001
of Sheet2
, but you want that on row 1000
. Therefore you need to subtract 1
from the row index to get the row 999
relative to A2
(which is row 1000
relative to A1
).
Make a sample yourself to understand “relative to the upper left cell of the range”:
Set cells
A11: Value 1
A12: Value 2
..
A20: Value 10
Now use in any other cell: =INDEX(A11:A20;5;1)
and you get the value of the 5th cell in A11:A20
, which is Value 5