In a free cell on the Master tab, enter a formula that counts the number of Soccers... so say in G2 you enter:
=COUNTIF($C$2:$C$13,"Soccer")
this will be used in next formula.
then in A2 of the Soccer tab enter:
=IF(ROWS($A$1:$A1)>'Master List'!$G$2,"",INDEX('Master List'!$A$2:$A$13,SMALL(IF('Master List'!$C$2:$C$13="Soccer",ROW('Master List'!$A$2:$A$13)-ROW('Master List'!$A$2)+1),ROWS($A$1:$A1))))
confirmed with CTRL+SHIFT+ENTER, not just ENTER and copy down as far as you need to extract all possibilities and more....
Then in B2, enter:
=IF(A2="","",INDEX('Master List'!B$2:B$13,MATCH($A2,'Master List'!$A$2:$A$13,0)))
and copy down and across the rest of the table.
Note: If you adjust ranges in the first large formula, you will need to re-confirm it with CTRL+SHIFT+ENTER first, then copy down again.
Bookmarks