Would like to sort the person's names in $F$33:$F$36 by a particular class they have enrolled in $J$33 from among several classes (e.g. class1, class2 etc.)$G$33:$G$36 and have the list of names appear of people taking just that class.
The formula I'm using is:
=INDEX($F$33:$G$36,MATCH(0,COUNTIF($H$39:$H39,$F$33:$F$36)+($G$33:$G$36<>$J$33),0),COLUMN(F1))
So, from a list of names (Jenny, Jane, Fred etc.) it would just output the people taking class 1 at $H$39:$H39. That is the goal.
I think my formula is close but is returning a 0. If anyone could help with this, it would be most appreciated.
I'm using the Mac version of excel 2010.
The formula I'm using is:
=INDEX($F$33:$G$36,MATCH(0,COUNTIF($H$39:$H39,$F$33:$F$36)+($G$33:$G$36<>$J$33),0),COLUMN(F1))
So, from a list of names (Jenny, Jane, Fred etc.) it would just output the people taking class 1 at $H$39:$H39. That is the goal.
I think my formula is close but is returning a 0. If anyone could help with this, it would be most appreciated.
I'm using the Mac version of excel 2010.