I have a table of 1000 students (names in Column A) and roughly 100 courses (in Row 1) and a list of IDs for the students unique to their respective course. I am given an ID for a student and I need to access the students name and the respective course. For instance, I may receive H19 and I need two formulas to show pull the header (course) which would be "SCI" and the student name (row) would be "Hope". I had heard that INDEX would work with either MATCH or SUBPRODUCT. Any help would be greatly appreciated. Thanks.
A B C D E
1 MAT SCI HIS ENG
2 Bret M45 Y42 214 41Q
3 Dani D43 S75 432 78G
4 Matt Q82 E31 229 98U
5 Lynn L41 E85 127 41R
6 Alex K75 M41 985 41I
7 Amie A41 P21 554 86P
8 Kate J84 Y07 882 22N
9 Sean V25 T31 128 14E
10 Hope O94 H19 014 56L
11 Liam E41 S44 047 13M
A B C D E
1 MAT SCI HIS ENG
2 Bret M45 Y42 214 41Q
3 Dani D43 S75 432 78G
4 Matt Q82 E31 229 98U
5 Lynn L41 E85 127 41R
6 Alex K75 M41 985 41I
7 Amie A41 P21 554 86P
8 Kate J84 Y07 882 22N
9 Sean V25 T31 128 14E
10 Hope O94 H19 014 56L
11 Liam E41 S44 047 13M