I have an array formula as follows:
{=INDEX(K6:K26, MATCH(1, (G6:G26=G3)*(H6:H26>=H3)*(I3>=LARGE(I6:I26,COUNTIF(I6:I26,"<"&I3)+1))*(J6:J26>=J3), 0))}
The parts referencing column "G" and "H" work fine. I am trying to locate the largest result in column "I" that has already returned a True result for columns "G" and "H". This isn't working because the Large and Countif only return a single True rather than an Array of True and False.
I also tried without the Large and CountIf; however that returns the first result in the column "I" that also had returned True in "G" and "H". I need the largest result in column "I".
Without the Large and CountIf:
{=INDEX(K6:K26, MATCH(1, (G6:G26=G3)*(H6:H26>=H3)*(I6:I26<I3)*(J6:J26>=J3), 0))}
I attached the sample spreadsheet.
Any suggestions?
Bookmarks