Table:
0
A
B
C
D
E
F
G
H
I
1
No.
#
Title
Directed by
Written by
Canadian air date
U.S. air date
Production code
Canadian viewers (million)
2
45
1
"Personal Effects" (Part 2)
Kelly Makin
Mark Ellis & Stephanie Morgenstern
July8,2011
July 8, 2011
401
1.369
3
46
2
"Good Cop"
John Fawcett
Michael MacLennan
July15,2011
July 15, 2011
402
1.508
4
47
3
"Run, Jaime, Run"
Kelly Makin
Ian Weir
July22,2011
July 22, 2011
403
1.537
5
48
4
"Through a Glass Darkly"
John Fawcett
Andrew Wreggitt
July29,2011
July 29, 2011
404
1.430
6
49
5
"The Better Man"
David Frazee
Michael MacLennan
August5,2011
August 5, 2011
405
1.254
7
50
6
"A Day in the Life"
Jim Donovan
Mark Ellis & Stephanie Morgenstern
August12,2011
August 12, 2011
406
1.406
8
51
7
"Shockwave"
David Frazee
Larry Bambrick
August19,2011
August 19, 2011
407
1.313
9
52
8
"Grounded"
David Frazee
Karen Walton
September19,2011
October 18, 2011
412
1.536
10
53
9
"The War Within"
David Frazee
Daniel Godwin & Michael MacLennan
September27,2011
December13,2011
408
1.349
11
54
10
"The Cost of Doing Business"
David Frazee
Larry Bambrick
October4,2011
October 25, 2011
409
1.309
12
55
11
"Wild Card"
Brett Sullivan
Karen Walton
October11,2011
November1,2011
410
1.263
13
56
12
"A New Life"
Kelly Makin
Adam Barken
November1,2011
November8,2011
411
1.293
14
57
13
"A Call to Arms"
Érik Canuel
Alex Levine
November8,2011
November22,2011
413
1.215
15
58
14
"Day Game"
Kelly Makin
Aubrey Nealon
November15,2011
November29,2011
415
1.191
16
59
15
"Blue on Blue"
Stefan Pleszczynski
Adam Barken
November22,2011
December6,2011
416
1.229
17
60
16
"Team Player"
Kelly Makin
Michael MacLennan
November28,2011
January10,2012
414
1.452
18
61
17
"Priority of Life"
David Frazee
Mark Ellis, Stephanie Morgenstern & Alex Levine
December6,2011
January17,2012
417
1.317

Questions and formulas:
Question: How many production codes have the title "the better man"?
Formula: SUMIFS(H1,C1,"The Better Man")
Formula2: SUMIFS(H2:H18,C2:C18,"The Better Man")
Level: easy
Question: Who directed the episode that aired on July 29, 2011?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:I1,G1="July 29, 2011"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:I18,G2:G18="July 29, 2011"),4))
Level: medium
Question: How many air dates where directed by jim donovan?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:I1,D1="Jim Donovan"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:I18,D2:D18="Jim Donovan"),7))
Level: medium
Question: What is the smallest number?
Formula: MIN(B1)
Formula2: MIN(B2:B18)
Level: easy
Question: Which air dates have 1.229 canadian viewers (millions)?
Formula: LET(query1,SUMMARIZE(G1,SUMX(I1)),FILTER(query1,CHOOSECOLS(query1,2)=1.229))
Formula2: LET(query1,SUMMARIZE(G2:G18,SUMX(I2:I18)),FILTER(query1,CHOOSECOLS(query1,2)=1.229))
Level: hard