Hi All,
I am struggling to expand this formula
I have a 2 drop down lists which i can pick a team and the week to give me all the data for that criteria.
If both the selection states All Teams and All Weeks then i want all the data which i have manged to do
Now what i want to include in there is
if i select All Teams but i wanted to select a week (not all weeks) then show me all the teams for that week
and vice versa
if i select All Weeks but i wanted to select a Team (not all Teams) then show me all the Weeks data for that Team
This is the formula i have got to so far
=IFERROR(INDEX(M$9:M$21,IF(AND($E$6="All Teams",$F$6="All Weeks"),ROW(A1),SMALL(IF(--($K$9:$K$21=$E$6)*(--($J$9:$J$21=$F$6)),ROW($K$9:$K$21)-ROW($K$9)+1),ROWS($A$1:A1)))),"")
I am struggling to expand this formula
I have a 2 drop down lists which i can pick a team and the week to give me all the data for that criteria.
If both the selection states All Teams and All Weeks then i want all the data which i have manged to do
Now what i want to include in there is
if i select All Teams but i wanted to select a week (not all weeks) then show me all the teams for that week
and vice versa
if i select All Weeks but i wanted to select a Team (not all Teams) then show me all the Weeks data for that Team
This is the formula i have got to so far
=IFERROR(INDEX(M$9:M$21,IF(AND($E$6="All Teams",$F$6="All Weeks"),ROW(A1),SMALL(IF(--($K$9:$K$21=$E$6)*(--($J$9:$J$21=$F$6)),ROW($K$9:$K$21)-ROW($K$9)+1),ROWS($A$1:A1)))),"")