Table:
0
A
B
C
D
E
F
G
H
1
No. in series
No. in season
Title
Directed by
Written by
Original air date
Production code
U.S. viewers (millions)
2
16
1
" American Duos "
John Landis
Steve Franks & James Roday
July13,2007
2002
4.33
3
17
2
"65 Million Years Off"
Tim Matheson
Steve Franks
July20,2007
2003
N/A
4
18
3
"Psy vs. Psy"
Mel Damski
Andy Berman
July27,2007
2001
N/A
5
19
4
"Zero to Murder in Sixty Seconds"
Stephen Surjik
Saladin K. Patterson
August3,2007
2004
N/A
6
20
5
"And Down the Stretch Comes Murder"
Michael Zinberg
Josh Bycel
August10,2007
2005
4.43
7
21
6
"Meat Is Murder, But Murder Is Also Murder"
Eric Laneuville
Daniel Hsia
August17,2007
2006
N/A
8
22
7
"If You're So Smart, Then Why Are You Dead?"
Arlene Sanford
Anupam Nigam
August24,2007
2007
4.25
9
23
8
"Rob-a-Bye Baby"
Paul Lazarus
Tami Sagher
September7,2007
2008
3.97
10
24
9
"Bounty Hunters!"
John Badham
Andy Berman
September14,2007
2009
4.15
11
25
10
"Gus's Dad May Have Killed an Old Guy"
Oz Scott
Saladin K. Patterson
December7,2007
2011
N/A
12
26
11
"There's Something About Mira"
Joanna Kerns
Josh Bycel & Daniel Hsia
January11,2008
2012
N/A
13
27
12
"The Old and the Restless"
Jason Ensler
Anupam Nigam
January18,2008
2013
N/A
14
28
13
"Lights, Camera... Homicidio"
Matt Shakman
Andy Berman
January25,2008
2015
N/A
15
29
14
"Dis-Lodged"
Mel Damski
Tim Meltreger
February1,2008
2010
N/A
16
30
15
"Black and Tan: A Crime of Fashion"
Mel Damski
Steve Franks & James Roday
February8,2008
2014
N/A

Questions and formulas:
Question: What is the episode number in the season titled "65 million years off"?
Formula: SUMIFS(B1,C1,"65 Million Years Off")
Formula2: SUMIFS(B2:B16,C2:C16,"65 Million Years Off")
Level: easy
Question: How many episodes were directed by Arlene Sanford?
Formula: ROWS(UNIQUE(FILTER(E1, D1="Arlene Sanford")))
Formula2: ROWS(UNIQUE(FILTER(E2:E16, D2:D16="Arlene Sanford")))
Level: medium
Question: What was the title of the episode with a production code of 2010?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,G1=2010),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H16,G2:G16=2010),3))
Level: medium
Question: How many production codes had a US viewership of 4.43 million?
Formula: ROWS(UNIQUE(FILTER(G1, H1=4.43)))
Formula2: ROWS(UNIQUE(FILTER(G2:G16, H2:H16=4.43)))
Level: medium