Table:
0
A
B
C
D
E
1
Episode
Air Date
Timeslot
18-49
Viewers
2
Gary Has a Dream
September 23, 2009
Wednesday 8:30 pm
2.4/7
7.37
3
Gary Promises Too Much
September 30, 2009
Wednesday 8:30 pm
2.3/7
7.08
4
Gary's Demo
October 7, 2009
Wednesday 8:30 pm
2.2/6
7.17
5
Gary Shoots Fish in a Barrel
October 14, 2009
Wednesday 8:30 pm
2.4/7
7.38
6
Gary on the Air
October 21, 2009
Wednesday 8:30 pm
2.2/6
6.76
7
Gary Tries to Do It All
November 4, 2009
Wednesday 8:30 pm
2.0/5
6.29
8
Gary and Allison's Friend
November 11, 2009
Wednesday 8:30 pm
2.4/6
7.30
9
Gary Apologizes
November 18, 2009
Wednesday 8:30 pm
2.4/7
7.00
10
Gary Keeps a Secret
November 25, 2009
Wednesday 8:30 pm
1.8/6
6.68
11
Gary Gives Sasha His Full Attention
December 9, 2009
Wednesday 8:30 pm
2.3/6
7.01
12
Gary Is a Boat Guy
December 16, 2009
Wednesday 8:30 pm
2.5/7
7.76
13
Gary Feels Tom Slipping Away
January 13, 2010
Wednesday 8:30 pm
1.9/5
5.59
14
Gary Has to Choose
January 20, 2010
Wednesday 8:30 pm
1.8/5
5.89
15
Gary Lowers the Bar
February 10, 2010
Wednesday 8:30 pm
2.4/7
7.49
16
Gary's Big Mouth
March 4, 2010
Wednesday 8:30 pm
2.0/5
6.02
17
Gary Tries to Find Something for Mitch
March 10, 2010
Wednesday 8:30 pm
2.2/7
6.83
18
Gary Unmarried?
March 17, 2010
Wednesday 8:30 pm
1.8/5
5.70

Questions and formulas:
Question: What was the air date of the episode that has an 18-49 of 2.2/7?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="2.2/7"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E18,D2:D18="2.2/7"),2))
Level: medium
Question: What was the air date of 'Gary tries to do it all'?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="gary tries to do it all"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E18,A2:A18="gary tries to do it all"),2))
Level: medium
Question: What is the highest number of viewers for the episode that has an 18-49 of 1.8/6?
Formula: MAXIFS(E1,D1,"1.8/6")
Formula2: MAXIFS(E2:E18,D2:D18,"1.8/6")
Level: easy
Question: What was the timeslot for the episode with less than 6.76 viewers and an 18-49 of 1.9/5?
Formula: LET(query1,LET(query1,FILTER(A1:E1,D1="1.9/5"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<6.76))
Formula2: LET(query1,LET(query1,FILTER(A2:E18,D2:D18="1.9/5"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<6.76))
Level: hard
Question: What is the timeslot for the episode with an 18-49 of 2.2/7?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="2.2/7"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E18,D2:D18="2.2/7"),3))
Level: medium
Question: What is the timeslot for 'gary has to choose' with an 18-49 of 1.8/5?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="1.8/5")*(A1="gary has to choose")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E18,(D2:D18="1.8/5")*(A2:A18="gary has to choose")),3))
Level: medium