EXCEL INDEX FUNCTION

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:

  • array – a collection of cells, also known as an array constant.
  • row number – the row number in the reference or array.
  • col num – [optional] the location of the column in the reference or array.
  • area number – [optional] the reference range

 

The INDEX function has two forms: Array and Reference.

  1. Array form

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])

  • INDEX returns the value in the cell at the intersection of row num and col num if both are given.
  • INDEX delivers an array of values for the whole row if row num is set to zero. Enter the INDEX function as an array formula in horizontal range to utilise these array values.
  • INDEX delivers an array of values for the whole column if col num is set to zero. Enter the INDEX function as an array formula in vertical range to utilise these array values.

 

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])

  • The INDEX reference form returns the cell reference at the intersection of row num and col num.
  • If reference is provided as a list of ranges, area num determines the range to utilise.
  • The value of area sum is given as a number. In the formula =INDEX((A1:D5,A7:D10),2,2,2), for example, area num is provided as 2, referring to the range A7:D10.

Step By Step Guide of INDEX Function

Example :

Index Function

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.

 

Excel INDEX Function Template/Exercise

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now