Table:
0
A
B
C
D
E
F
G
1
#
Title
Director
Writer(s)
Viewers
Air date
Production code
2
1
"Pilot"
James Burrows
Ed Yeager
6.84
September24,2008
101
3
2
"Gary Gets Boundaries"
James Burrows
Ed Yeager
6.97
October1,2008
102
4
3
"Gary Marries off His Ex"
James Burrows
Janae Bakken
7.43
October8,2008
103
5
4
"Gary Gets His Stuff Back"
James Burrows
Matt Goldman
7.71
October15,2008
104
6
5
"Gary Breaks Up His Ex-wife and Girlfriend"
James Burrows
Ira Ungerleider
7.85
October22,2008
105
7
6
"Gary Meets The Gang"
James Burrows
Susan McMartin
6.44
November5,2008
106
8
7
"Gary and Allison's Restaurant"
James Burrows
Bill Daly
6.71
November12,2008
107
9
8
"Gary and Allison Brooks"
James Burrows
Ed Brown and Scott Parkin
8.14
December19,2008
108
10
9
"Gary Gives Thanks"
James Burrows
Mark Gross
7.72
December26,2008
109
11
10
"Gary Goes First"
James Burrows
Julie Bean
8.03
December10,2008
110
12
11
"Gary Toughens Up Tom"
James Burrows
Ric Swartzlander
7.55
December17,2008
111
13
12
"Gary Dates Louise's Teacher"
James Burrows
Barry Langer
7.07
January14,2009
112
14
13
"Gary Moves Back In"
James Burrows
Bill Daly and Mark Gross
7.07
January21,2009
113
15
14
"Gary and Dennis' Sister"
James Burrows
Julie Bean and Susan McMartin
6.86
February11,2009
114
16
15
"Gary's Ex-Brother-In-Law"
James Burrows
Mark Jordan Legan and Terry Mulroy
8.15
February18,2009
115
17
16
"Gary Uses His Veto"
James Burrows
Jana Hunter and Mitch Hunter
8.82
March11,2009
116
18
17
"Gary Hooks Up Allison"
James Burrows
Ira Ungerleider
7.57
March18,2009
117
19
18
"Gary and the Trophy"
James Burrows
Rob DesHotel
7.30
April8,2009
118
20
19
"Gary and His Half Brother"
James Burrows
Scott Parkin and Ed Brown
6.66
May6,2009
119

Questions and formulas:
Question: When 10 is the number who is the writer?
Formula: LET(query1,SUMMARIZE(D1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=10))
Formula2: LET(query1,SUMMARIZE(D2:D20,SUMX(A2:A20)),FILTER(query1,CHOOSECOLS(query1,2)=10))
Level: hard
Question: When 6.66 is the amount of viewers what is the lowest production code?
Formula: MIN(FILTER(G1, E1=6.66))
Formula2: MIN(FILTER(G2:G20, E2:E20=6.66))
Level: easy
Question: When 7.55 is the amount of viewers what is the lowest number?
Formula: MIN(FILTER(A1, E1=7.55))
Formula2: MIN(FILTER(A2:A20, E2:E20=7.55))
Level: easy