Table:
0
A
B
C
D
E
F
G
1
Series #
Title
Written by
Directed by
Original air date
Production code
U.S. viewers (millions)
2
1
"Pilot"
Jonathan Shapiro
Andrew Davis
September19,2005
475279
3.440
3
2
"The Runner"
Jonathan Shapiro
Dwight Little
September26,2005
2T7001
2.960
4
3
"The Limit"
Rob Bragin
John Badham
October3,2005
2T7002
2.880
5
4
"The Body in the Trunk"
Craig O'Neil & Jason Tracy
Tim Matheson
August13,2006
2T7003
N/A
6
5
"The Heater"
Nick Thiel
Dennis Smith
August20,2006
2T7004
1.590
7
6
"The Rainmaker"
Rama Laurie Stagner
Dwight Little
August27,2006
2T7005
1.120
8
7
"The Code"
Alfredo Barrios Jr.
Oz Scott
September3,2006
2T7006
1.340

Questions and formulas:
Question: What is th title of the episode written by Nick Thiel?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="Nick Thiel"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,C2:C8="Nick Thiel"),2))
Level: medium
Question: How many million u.s. viewers watched the episode with a production code of 2t7004?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="2T7004"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,F2:F8="2T7004"),7))
Level: medium
Question: What is the name of the episode that was directed by Dennis Smith?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="Dennis Smith"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,D2:D8="Dennis Smith"),2))
Level: medium
Question: What date did "The runner" originally air on?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="The Runner"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,B2:B8="The Runner"),5))
Level: medium
Question: What is the name of the episode nick thiel wrote?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="Nick Thiel"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G8,C2:C8="Nick Thiel"),2))
Level: medium