Table:
0
A
B
C
D
E
F
G
H
1
Series #
Episode #
Title
Directed by
Written by
U.S. viewers (million)
Original airdate
Production Code
2
77
1
"The Avengers"
Ian Toynton
Josh Schwartz
3.39
November2,2006
3T5251
3
78
2
"The Gringos"
Patrick Norris
John Stephens
3.54
November7,2006
3T5252
4
79
3
"The Cold Turkey"
Michael Lange
J. J. Philbin
3.73
November9,2006
3T5253
5
80
4
"The Metamorphosis"
Norman Buckley
Leila Gerstein
3.77
November16,2006
3T5254
6
81
5
"The Sleeping Beauty"
Ian Toynton
John Stephens
3.67
November30,2006
3T5255
7
82
6
"The Summer Bummer"
Michael Lange
Josh Schwartz & Stephanie Savage
3.82
December7,2006
3T5256
8
83
7
"The Chrismukk-huh?"
Ian Toynton
J. J. Philbin & John Stephens
4.3
December14,2006
3T5257
9
84
8
"The Earth Girls Are Easy"
Norman Buckley
Mark Fish
4.15
December21,2006
3T5258
10
85
9
"The My Two Dads"
Michael Schultz
Josh Schwartz & Stephanie Savage
3.93
January4,2007
3T5259
11
86
10
"The French Connection"
John Stephens
J. J. Philbin
3.83
January11,2007
3T5260
12
87
11
"The Dream Lover"
Patrick Norris
Leila Gerstein
3.96
January18,2007
3T5261
13
88
12
"The Groundhog Day"
Ian Toynton
Mark Fish
3.57
January25,2007
3T5262
14
89
13
"The Case of the Franks"
Norman Buckley
J. J. Philbin
3.82
February1,2007
3T5263
15
90
14
"The Shake Up"
Ian Toynton
John Stephens
3.58
February8,2007
3T5264
16
91
15
"The Night Moves"
Patrick Norris
Stephanie Savage
3.65
February15,2007
3T5265

Questions and formulas:
Question: Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?
Formula: LET(query1,SUMMARIZE(E1,SUMX(F1)),FILTER(query1,CHOOSECOLS(query1,2)=3.96))
Formula2: LET(query1,SUMMARIZE(E2:E16,SUMX(F2:F16)),FILTER(query1,CHOOSECOLS(query1,2)=3.96))
Level: hard
Question: What is the original air date of episode 8?  Answer: Dec. 21, 2006
Formula: LET(query1,SUMMARIZE(G1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=8))
Formula2: LET(query1,SUMMARIZE(G2:G16,SUMX(B2:B16)),FILTER(query1,CHOOSECOLS(query1,2)=8))
Level: hard
Question: Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
Formula: LET(query1,SUMMARIZE(E1,SUMX(F1)),FILTER(query1,CHOOSECOLS(query1,2)=3.73))
Formula2: LET(query1,SUMMARIZE(E2:E16,SUMX(F2:F16)),FILTER(query1,CHOOSECOLS(query1,2)=3.73))
Level: hard
Question: What is the production code of the episode "The Night Moves", which was directed by Patrick Norris?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,(D1="Patrick Norris")*(C1="The Night Moves")),8))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H16,(D2:D16="Patrick Norris")*(C2:C16="The Night Moves")),8))
Level: medium
Question: Who wrote episode 11?
Formula: LET(query1,SUMMARIZE(E1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=11))
Formula2: LET(query1,SUMMARIZE(E2:E16,SUMX(B2:B16)),FILTER(query1,CHOOSECOLS(query1,2)=11))
Level: hard
Question: What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
Formula: LET(query1,SUMMARIZE(G1,SUMX(F1)),FILTER(query1,CHOOSECOLS(query1,2)=3.73))
Formula2: LET(query1,SUMMARIZE(G2:G16,SUMX(F2:F16)),FILTER(query1,CHOOSECOLS(query1,2)=3.73))
Level: hard