Locked lesson.
About this lesson
Illustrations of the use of the INDEX function.
Exercise files
Download this lesson’s related exercise files.
INDEX.xlsx8.8 KB INDEX - Solution.xlsx
9.1 KB
Quick reference
INDEX
Discover how to use INDEX functions in a formula.
When to use
INDEX(Array,Row_num,[Column_num]) returns a value or the reference to a value from within a table or range (list)
Instructions
Overview
- Essentially, INDEX(Array,Row_num,[Column_num]) returns a value or the reference to a value from within a table or range (list). For example, INDEX({7,8,9,10,11,12},3) returns the third item in the list {7,8,9,10,11,12}, i.e. 9. This could have been a range: INDEX(A1:A10,5) gives the value in cell A5, etc.
- INDEX can work in two dimensions as well (hence the Column_num reference).
Example
- =INDEX(B4:G4,D14) returns the value in the fourth column of the row vector B4:G4 (4 in the above illustration)
- =INDEX(B4:G9,D20,D21) returns the value in the second row, third column of the table array B4:G9 (9 in the above illustration)
Lesson notes are only available for subscribers.