INDEX |
INDEX(reference, row_num, column_num [,area_num]) |
Array Form - INDEX(array, row_num, column_num) |
Returns the value from a cell range which is the intersection of a row AND a column. |
reference | The reference to one or more cell ranges. |
row_num | The row in array from which to return a value (can be left blank). |
column_num | The column in array from which to return a value (can be left blank). |
area_num | (Optional) The area to use when there is more than one. |
array | (Array Form Only) The array of values to use. |
REMARKS |
* For an illustrated example refer to the page under Lookup Functions * This function can return multiple values. * This function can create a Dynamic Array Formula. * This function will return the value in the cell (or array) at the intersection of the "row_num" and "column_num". * If "row_num" is left blank, then 0 is used. * If "row_num" = 0, then all the values in the "column_num" are returned. * If "row_num" is too small or too large, then #REF! is returned. * The "column_num" argument is not really optional because you must include the comma. See Example 6. * If "column_num" is left blank, then 0 is used. * If "column_num" = 0, then all the values in the "row_num" are returned. * If "column_num" is too small or too large, then #REF! is returned. * If "area_num" is left blank, then 1 is used. * If "area_num" is too small or too large, then #REF! is returned. * If "reference" contains non adjacent cells, the cell ranges must be enclosed in parentheses. * You can use the XLOOKUP function to return a value in the same row (or column). * You can use the XMATCH function to return the position of a value. * You can use the VLOOKUP function to return a value in the same row. * You can use the HLOOKUP function to return a value in the same column. * You can use the LOOKUP function to return a value in a row (or column) that matches a value in a column (or row). * You can use the MATCH function to return the position of a value. * You can use the CHOOSE function to return the value in a row (or column) based on an index number. * You can use the INDEX and MATCH combination to lookup a value in any column. * This function has been available since Excel 1997. * For the Microsoft documentation refer to support.microsoft.com * For the Google documentation refer to support.google.com |
|
1 - What value is the intersection of row 1, column 1 in the range "B1:C3". 2 - What value is the intersection of row 1, column 2 in the range "B1:C3". 3 - What value is the intersection of row 2, column 1 in the range "C1:C3". 4 - What value is the intersection of row 2, column 1 in the range "C1:C3". 5 - What value is the intersection of row 3, column 1 in the range "C1:C3". 6 - What value is the intersection of row 1, with a blank column number in the range "B1:C3". This returns 2 values. 7 - What value is the intersection of row 0, column 2 in the range "B1:C3". All the rows are returned from column 2. This returns 3 values. 8 - What value in column "C" is on the same row as "Bolts" in column "B". |
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top