Teams | Dropped Passes |
---|---|
USA | 5 |
Canada | 1 |
Japan | 5 |
So this formula:
returns "USA" which is not completely correct.=index(A2:A4,match(max(B2:B4),B2:B4,0))
How can I get it to return:
USA, Japan
Last edited:
Teams | Dropped Passes |
---|---|
USA | 5 |
Canada | 1 |
Japan | 5 |
returns "USA" which is not completely correct.=index(A2:A4,match(max(B2:B4),B2:B4,0))
USA, Japan
Thanks for the solution. Is it possible to join the two rows into one so that the result appears in one cell?Try:
Drag formula down as needed.
Cell Formulas Range Formula D2:D4 D2 =IFERROR(INDEX($A$2:$A$4,AGGREGATE(15,6,(ROW($A$2:$A$4)-ROW($A$2)+1)/($B$2:$B$4=MAX($B$2:$B$4)),ROWS($D$2:D2))),"")
Thanks!! this works perfectTry
=TEXTJOIN(",",,FILTER(A2:A4,B2:B4=MAX(B2:B4)))