Table:
0
A
B
C
D
E
F
G
1
Series #
Title
Directed by
Written by
Original air date
Production code
U.S. viewers (million)
2
1
"Pilot"
Peter O'Fallon
Clifton Campbell
July11,2010
BDF179
3.55
3
2
"Bird in the Hand"
Peter O'Fallon
Matt Witten
July18,2010
BDF101
3.35
4
3
"A Perfect Storm"
Timothy Busfield
Alfonso H. Moreno
July25,2010
BDF104
2.92
5
4
"Mucked Up"
Randall Zisk
Elle Johnson
August1,2010
BDF102
3.29
6
5
"The Girlfriend Experience"
Tim Hunter
Lee Goldberg & William Rabkin
August8,2010
BDF103
3.10
7
6
"Doppelganger"
Guy Ferland
Story by: Matt Witten Teleplay by: David J. Burke
August15,2010
BDF105
2.80
8
7
"Cassadaga"
Bill Eagles
Alfonso H. Moreno
August22,2010
BDF106
3.32
9
8
"Marriage Is Murder"
Jonathan Frakes
Tom Garrigus
August29,2010
BDF107
3.08
10
9
"Honey"
Colin Bucksey
Elle Johnson
September5,2010
BDF108
3.21
11
10
"Second Chance"
Tricia Brock
Tom Garrigus
September12,2010
BDF109
3.08
12
11
"Booty"
Elodie Keene
Lee Goldberg & William Rabkin
September19,2010
BDF110
2.93
13
12
"Exposed"
Gary A. Randall
Alfonso H. Moreno
September26,2010
BDF111
2.73

Questions and formulas:
Question: Who wrote the episode that 2.93 million viewers?
Formula: LET(query1,SUMMARIZE(D1,SUMX(G1)),FILTER(query1,CHOOSECOLS(query1,2)=2.93))
Formula2: LET(query1,SUMMARIZE(D2:D13,SUMX(G2:G13)),FILTER(query1,CHOOSECOLS(query1,2)=2.93))
Level: hard
Question: What series number is the episode with production code bdf101?
Formula: SUMIFS(A1,F1,"BDF101")
Formula2: SUMIFS(A2:A13,F2:F13,"BDF2:F1301")
Level: easy
Question: What series number is the episode entitled "Booty"?
Formula: SUMIFS(A1,B1,"Booty")
Formula2: SUMIFS(A2:A13,B2:B13,"Booty")
Level: easy
Question: What is the series number for the episode with production code bdf109?
Formula: SUMIFS(A1,F1,"BDF109")
Formula2: SUMIFS(A2:A13,F2:F13,"BDF2:F1309")
Level: easy