=INDEX(Data!$E:$E,MATCH($A2,IF(Data!$H:$H=Summary!E$1,Data!$A:$A),0))
An example of the array formula above would be: Return the Course Title if the Student Name is John Smith and the Department is English.
This works for the initial instance.
It only works for the initial instance though. So if John is enrolled in two English courses, it still lists the initial Course.
I have tried the two array formulas below, also with no luck. Any recommendations on where I'm going wrong?
=INDEX(Data!$E:$E,MATCH($A2,IF(Data!$H:$H=Summary!E$1,Data!$A:$A),1))
=INDEX(Data!$E:$E,MATCH($A2,IF(Data!$H:$H=Summary!E$1,Data!$A:$A),+1))
An example of the array formula above would be: Return the Course Title if the Student Name is John Smith and the Department is English.
This works for the initial instance.
It only works for the initial instance though. So if John is enrolled in two English courses, it still lists the initial Course.
I have tried the two array formulas below, also with no luck. Any recommendations on where I'm going wrong?
=INDEX(Data!$E:$E,MATCH($A2,IF(Data!$H:$H=Summary!E$1,Data!$A:$A),1))
=INDEX(Data!$E:$E,MATCH($A2,IF(Data!$H:$H=Summary!E$1,Data!$A:$A),+1))