Table:
0
A
B
C
D
E
F
G
1
Series #
Season #
Title
Directed by
Written by
Original air date
Viewers (million)
2
11
1
"No Excuses"
Jeff Bleckner
Glen Mazzara
June22,2010
3.42
3
12
2
"The Starting Line"
Ed Bianchi
John Masius & Erica Shelton
June29,2010
2.95
4
13
3
"Road Narrows"
Ed Bianchi
Sang Kyu Kim
July6,2010
2.73
5
14
4
"Afterglow"
Jeff Bleckner
Darin Goldberg & Shelley Meals
July13,2010
2.64
6
15
5
"The Match"
Mike Robe
Adam E. Fierro & Glen Mazzara
July20,2010
2.86
7
16
6
"Final Curtain"
Tricia Brock
Sarah Thorp
July27,2010
2.63
8
17
7
"Hidden Truths"
Jeff Bleckner
Darin Goldberg & Shelley Meals
August3,2010
3.12
9
18
8
"A Mother Knows"
Tricia Brock
Erica Shelton
August10,2010
3.24

Questions and formulas:
Question: What is the name of the episode written by glen mazzara?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Glen Mazzara"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,E2:E9="Glen Mazzara"),3))
Level: medium
Question: How many titles are there with the original air date of august3,2010?
Formula: ROWS(UNIQUE(FILTER(C1, F1="August3,2010")))
Formula2: ROWS(UNIQUE(FILTER(C2:C9, F2:F9="August3,2010")))
Level: medium
Question: Who directed the episdoe veiwed by 3.24  million viewers?
Formula: LET(query1,SUMMARIZE(D1,SUMX(G1)),FILTER(query1,CHOOSECOLS(query1,2)=3.24))
Formula2: LET(query1,SUMMARIZE(D2:D9,SUMX(G2:G9)),FILTER(query1,CHOOSECOLS(query1,2)=3.24))
Level: hard
Question: What dated the episode written by is adam e. fierro & glen mazzara air?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Adam E. Fierro & Glen Mazzara"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,E2:E9="Adam E. Fierro & Glen Mazzara"),6))
Level: medium