As the title says really. I have a table which looks something like:
<tbody>
</tbody>
So I want a unique list of Ethnicities for all students who are studying Art.
At the moment I am using formula {=IFERROR(INDEX(Ethnicity,MATCH(0,COUNTIF($B$30:B30,Ethnicity),0)),"")}, however, this just gives me a list of unique ethnicities for the entire cohort of students not just the ones studying the subject.
Any help would be appreciated.
Thanks
Ethnicity | English | Maths | Science | Triple Science | Art | Drama | Citizenship | Geography | |
1 | Black Caribbean | Y | Y | Y | Y | Y | |||
2 | Afghan | Y | Y | Y | Y | Y | |||
3 | Afghan | Y | Y | Y | Y | Y | |||
4 | Indian | Y | Y | Y | Y | Y | Y | Y |
<tbody>
</tbody>
So I want a unique list of Ethnicities for all students who are studying Art.
At the moment I am using formula {=IFERROR(INDEX(Ethnicity,MATCH(0,COUNTIF($B$30:B30,Ethnicity),0)),"")}, however, this just gives me a list of unique ethnicities for the entire cohort of students not just the ones studying the subject.
Any help would be appreciated.
Thanks