Excel INDEX Function

Summary

The Excel INDEX function returns the value at a given position in a range or array. You can use index to retrieve inpidual values or entire rows and columns. INDEX is often used with the MATCH function, where MATCH locates and feeds a position to INDEX.

Purpose

Get a value in a list or table based on location

Return value

The value at a given location.

Syntax

=INDEX (array, row_num, [col_num], [area_num])

Arguments

Usage notes

Use the INDEX function to get a value from a list or table based on its location. For example, the formula =INDEX(A1:B5,2,2) will return the value at the address B2.

The INDEX function has two forms: array and reference.

Array form

In the array form of INDEX, the first parameter is array, which is supplied as a range of cells or an array constant. The syntax for the array form of INDEX is:

INDEX (array, row_num, [col_num])

Reference form

In the array form of INDEX, the first parameter is reference, which is supplied as a reference to one or more cell ranges. The syntax for the reference form of INDEX is:

INDEX (reference, row_num, [col_num], [area_num])

 

Excel INDEX Function

Summary

The Excel INDEX function returns the value at a given position in a range or array. You can use index to retrieve inpidual values or entire rows and columns. INDEX is often used with the MATCH function, where MATCH locates and feeds a position to INDEX.

Purpose

Get a value in a list or table based on location

Return value

The value at a given location.

Syntax

=INDEX (array, row_num, [col_num], [area_num])

Arguments

Usage notes

Use the INDEX function to get a value from a list or table based on its location. For example, the formula =INDEX(A1:B5,2,2) will return the value at the address B2.

The INDEX function has two forms: array and reference.

Array form

In the array form of INDEX, the first parameter is array, which is supplied as a range of cells or an array constant. The syntax for the array form of INDEX is:

INDEX (array, row_num, [col_num])

Reference form

In the array form of INDEX, the first parameter is reference, which is supplied as a reference to one or more cell ranges. The syntax for the reference form of INDEX is:

INDEX (reference, row_num, [col_num], [area_num])