This function selects a value from a list or table by searching down the provided rows and across the specified columns.
Syntax:
=INDEX (array, row_num, [col_num], [area_num])
Parameter list:
The INDEX function has two forms: Array and Reference.
The first parameter in the array form of INDEX is array, which can be provided as a range of cells or an array constant.
Syntax:
INDEX (array, row_num, [col_num])
2. Reference form
The first argument in the reference form of INDEX is reference, which is given as a reference to one or more cell ranges.
Syntax:
INDEX (reference, row_num, [col_num], [area_num])
Example :
1. #VALUE! error- Occurs when any of the provided row num, col num, or area num parameters is not a real number.
2. #REF! error– Occurs as a result of one of the following reasons: • The given row num parameter exceeds the number of rows in the specified range;
• The given [col num] argument exceeds the number of columns in the provided range; or • The given [area num] argument exceeds the number of areas in the supplied range.
3. VLOOKUP function vs. INDEX formula in Excel Because VLOOKUP cannot glance to the left, our lookup value must always be in the left-most column of the search range. The INDEX and MATCH functions, on the other hand, do not have this limitation.
• VLOOKUP formulae become corrupted or return when a new column is deleted or added to a lookup table, the results are inaccurate. We can delete or add new columns to your lookup table using INDEX and MATCH without affecting the results.
Ask Your Query