Back to the original topic for a moment, would it be possible to modify the formula to return games played with just 1 team against any opponent? I have tried by removing the references to team 2, and it just returns a blank cell due to an error, but I can't understand why that is.
=IFERROR(INDEX(B$2:B$7,SMALL(IF(($B$2:$B$7=$I$1)+($B$2:$B$7=$L$1),IF(($D$2:$D$7=$I$1)+($D$2:$D$7=$L$1),ROW($B$2:$B$7)-ROW($B$2)+1)),ROWS($B$2:B2))),"")
After I remove the reference to the second team and set it as an array formula it is an error, this is what I end up with:
=IFERROR(INDEX(B$2:B$7,SMALL(IF(($B$2:$B$7=$I$1),IF(($D$2:$D$7=$I$1),ROW($B$2:$B$7)-ROW($B$2)+1)),ROWS($B$2:B2))),"")
I'm a bit stumped on what else I could remove from it, thank you.
Bookmarks