INDEX(array, row_num) retrieves the value at the position row_num within the range array. For a single-column range this is all you need — row_num counts from the first row of the array, not from row 1 of the spreadsheet. If array starts at row 5, then row_num 1 returns the value in the 5th row of the spreadsheet. For a multi-column range, add the col_num argument to specify which column to return from, counting from the left edge of the range starting at 1. The most important application of INDEX is the
MATCH Formula">INDEX MATCH combination: =INDEX(return_column, MATCH(lookup_value, search_column, 0)). MATCH finds the position number and INDEX uses it to retrieve the corresponding value. Both the search_column and return_column are independent range references — they can be anywhere in the spreadsheet without restriction. Wrap the whole formula in IFERROR to handle cases where MATCH cannot find the lookup value: =IFERROR(INDEX(D:D, MATCH(A2, B:B, 0)), "Not found").