Forum Discussion

rushy24's avatar
rushy24
Copper Contributor
Jan 23, 2023
Solved

Duplicate Returns

I've got a football statistics spreadsheet with averages in one column and formations in another.  I've tried to return the top 5 averages and the matching formations into other fields in my workshee...
  • OliverScheurich's avatar
    Jan 23, 2023

    rushy24 

    =INDEX($B$3:$B$7,MATCH(1,($C$3:$C$7=LARGE($C$3:$C$7,ROW(E1)))*(COUNTIF($G$2:G2,$B$3:$B$7)=0),0))

    You can try this formula for the data layout of the example. Enter the formula with ctrl+shift+enter if you don't work with Office 365 or Excel 2021.

     

     

     

Resources