In MS Excel, the INDEX and MATCH functions are often used together to
Answer: D
Correct answer: look up a value with more flexibility than VLOOKUP allows
MATCH returns the position of a value within a range, and INDEX returns the value at a given position. Combined - =INDEX(C1:C100,MATCH("Delhi",A1:A100,0)) - they perform a lookup. The combination is preferred to VLOOKUP for three reasons. It can look leftwards, since the lookup column and the return column are specified independently, whereas VLOOKUP can only return a column to the right of the one it searches. It does not break when a column is inserted, because there is no fixed column index to become wrong. And it is faster on large sheets, since only two columns are examined rather than the whole table. The third argument of MATCH should be 0 for an exact match; the default of 1 requires sorted data and fails silently otherwise. A two-dimensional lookup nests a second MATCH for the column: =INDEX(range,MATCH(...),MATCH(...)). XLOOKUP now does all of this in one function.
Please log in or register to report this question.