Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to return a non-contiguous subset of another array using the INDEX
function. For example: =INDEX({1,2,3;4,5,6;7,8,9},{1;3},{2,3}) When selecting a 2x2 array of cells and hitting CTRL + SHIFT + ENTER, the following array is returned: [2 3 8 9] However when using the formula "INDEX({1,2,3;4,5,6;7,8,9},{1;3},{2,3})" as an input to another function (within the actual formula) it seems only the top-left element is input i.e. (2). For example: ROWS(INDEX({1,2,3;4,5,6;7,8,9},{1;3},{2,3})) returns 1. As does, COLUMNS(INDEX({1,2,3;4,5,6;7,8,9},{1;3},{2,3})) Does anyone have any idea how to allow Excel to actually pass the entire array into the function rather than just the first element? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using INDEX function to return array row. | Excel Worksheet Functions | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
Formatting result of Index function | Excel Worksheet Functions | |||
SUMPRODUCT using and INDEX function doesn't total | Excel Worksheet Functions |