Table:
0
A
B
C
D
E
F
G
H
1
No.
#
Title
Directed by
Written by
Original air date
Production code
U.S. viewers (million)
2
13
1
"Red Rain"
Bryan Spicer
Scott Rosenbaum & Gregg Hurwitz
January4,2011
3X6201
6.59
3
14
2
"Serpent's Tooth"
Steve Shill
Gregg Hurwitz
January11,2011
3X6202
5.77
4
15
3
"Laid Bare"
David Barrett
Gwendolyn M. Parker
January18,2011
3X6203
5.70
5
16
4
"Unholy Alliance"
Dean White
Rockne S. O'Bannon
February1,2011
3X6204
5.29
6
17
5
"Concordia"
Jesse Warn
David Rambo
February8,2011
3X6205
5.40
7
18
6
"Siege"
John Behring
Dean Widenmann
February15,2011
3X6206
5.43
8
19
7
"Birth Pangs"
David Barrett
Cathryn Humphris
February22,2011
3X6207
5.14
9
20
8
"Uneasy Lies the Head"
Jeff Woolnough
Cameron Litvack & Gregg Hurwitz
March1,2011
3X6208
5.04
10
21
9
"Devil in a Blue Dress"
Ralph Hemecker
Hans Tobeason
March8,2011
3X6209
4.98

Questions and formulas:
Question: Who wrote "Concordia"?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,C1="Concordia"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,C2:C10="Concordia"),5))
Level: medium
Question: What is the production code of the episode written by Cathryn Humphris?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,E1="Cathryn Humphris"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,E2:E10="Cathryn Humphris"),7))
Level: medium
Question: What is the production code of the episode that had 5.43 million viewers?
Formula: LET(query1,SUMMARIZE(G1,SUMX(H1)),FILTER(query1,CHOOSECOLS(query1,2)=5.43))
Formula2: LET(query1,SUMMARIZE(G2:G10,SUMX(H2:H10)),FILTER(query1,CHOOSECOLS(query1,2)=5.43))
Level: hard
Question: What was the title of the episode directed by Jesse Warn?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,D1="Jesse Warn"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H10,D2:D10="Jesse Warn"),7))
Level: medium
Question: What episode number was written by Gregg Hurwitz?
Formula: SUMIFS(A1,E1,"Gregg Hurwitz")
Formula2: SUMIFS(A2:A10,E2:E10,"Gregg Hurwitz")
Level: easy