Table:
0
A
B
C
D
E
1
Subjects
First Year
Second Year
Third Year
Fourth Year
2
Science
General Science
Biology
Chemistry
Physics
3
Mathematics
Elementary Algebra
Intermediate Algebra
Geometry
Advanced Algebra
4
English
Grammar and Philippine Literature
Grammar and Afro-Asian Literature
Grammar and American Literature
Grammar and World Literature
5
Filipino
Pag-unawa
Gramatika
Panitikang Pilipino
Panitikang Asyano
6
Social Studies (AP)
Philippine History and Government
Asian History
World History
Economics

Questions and formulas:
Question: What is the third year course in science?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Science"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6="Science"),4))
Level: medium
Question: What is the second year class following pag-unawa?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="Pag-unawa"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="Pag-unawa"),3))
Level: medium
Question: How many classes are taken in the third year when pag-unawa was taken in the first year?
Formula: ROWS(UNIQUE(FILTER(D1, B1="Pag-unawa")))
Formula2: ROWS(UNIQUE(FILTER(D2:D6, B2:B6="Pag-unawa")))
Level: medium
Question: What is the first year course in the program where geometry is taken in the third year?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="Geometry"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,D2:D6="Geometry"),2))
Level: medium
Question: What is the second year course in the program where physics is taken in the fourth year?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="Physics"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="Physics"),3))
Level: medium