Works great - giving me the row references I need. However, I'm having trouble using those within the rest of my formula.
I'm trying to return the standard deviation for all data in the rows within an array that meet those criteria (you already cleared that hump for me). Here is what I've got currently that isn't working (adapted to fit your great example):
Formula:
=STDEV.P(INDEX(B10:G60, LARGE((A10:A60={3,4})*ROW(A1:A60),ROW(INDIRECT("1:"&SUM(COUNTIF(A1:A60,{3,4})))))-ROW(A9), 0))
Any ideas? It's definitely the index that isn't working - the array is returning far too few numbers for the standard deviation to look at. (Sweet trick on the F2, F9). Also, if it helps, the index function on it's own without the stdev.p is currently returning the values from the entire row of the largest row number that matches both criteria.
Also, I've never used brackets within an array formula before, do they tell excel to look for either of those criteria?
Bookmarks