I have searched everywhere for an answer but couldn't find one, so I figure it's time to ask.
Is it possible to use an array for the 2nd argument (row_num) in an INDEX function? I have been experimenting with it and cannot get it to work.
The formula I'm working with is the following:
{=SMALL(INDEX(F$1:F$190, MATCH(C$1:C$190, C$1:C$190, 0)), ROW())}
The MATCH function gives me an array of values, which are really just row numbers in column F. I want to be able to use the INDEX function in front of it so that I can easily turn the array of values into values in the F column. But it never works. Everything after the INDEX( always collapsing down into a single "". Is it not possible to use the INDEX function this way? An alternative I found is to use the LOOKUP function, like so:
{=SMALL(LOOKUP(MATCH(C$1:C$190, C$1:C$190, 0), ROW(C$1:C$190), F$1:F$190), ROW())}
This looks up the values in the first array produced by the MATCH function (which, again, are row numbers I want to extract from column F), then it matches these values to the array of ROW numbers, then matches those to the corresponding F column values. It seems like an unnecessary step. Can't I just somehow use the raw row numbers produced by the MATCH function, instead of having to pass them on to an intermediary array?
Any help is greatly appreciated!
Bookmarks