Table:
0
A
B
C
D
E
1
8:00
8:30
9:00
9:30
10:00
2
According to Jim
According to Jim
Dancing with the Stars: The Results
Dancing with the Stars: The Results
Cupid
3
NCIS
NCIS
The Mentalist
The Mentalist
Without a Trace
4
Reaper
Reaper
90210
90210
Local Programming
5
American Idol
American Idol
American Idol
American Idol
Local Programming
6
American Idol
American Idol
Fringe
Fringe
Local Programming
7
Street Patrol
Street Patrol (Reruns)
Jail
Jail (Reruns)
Local Programming
8
The Biggest Loser
The Biggest Loser
The Biggest Loser
The Biggest Loser
Law & Order: Special Victims Unit

Questions and formulas:
Question: What show was on at 8:00 when american idol was on at 9:00?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="american idol"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,C2:C8="american idol"),1))
Level: medium
Question: What was on at 8:30 when dancing with the stars: the results was on at 9:30?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="dancing with the stars: the results"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,D2:D8="dancing with the stars: the results"),2))
Level: medium
Question: What was on at 8:30 when dancing with the stars: the results was on at 9:30?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="dancing with the stars: the results"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,C2:C8="dancing with the stars: the results"),2))
Level: medium
Question: What was on at 10:00 when ncis was on at 8:00?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="ncis"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="ncis"),5))
Level: medium