Originally Posted by
Tony Valko
Enter this formula in H2:
=IFERROR(LARGE(IF(ISNUMBER(MATCH(B$2:B$13,E$2:E$4,0)),C$2:C$13),ROWS(H$2:H2)),"")
Enter this formula in G2:
=IF(H2="","",INDEX(B:B,SMALL(IF(ISNUMBER(MATCH(B$2:B$13,E$2:E$4,0))*(C$2:C$13=H2),ROW(B$2:B$13)),COUNTIF(H$2:H2,H2))))
Enter this formula in F2:
=IF(H2="","",INDEX(A:A,SMALL(IF(ISNUMBER(MATCH(B$2:B$13,E$2:E$4,0))*(C$2:C$13=H2),ROW(B$2:B$13)),COUNTIF(H$2:H2,H2))))
** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
Select F2:H2 and copy down until you get a row full of blanks.
Bookmarks