Table:
0
A
B
C
D
E
1
Poll Source
Dates administered
Democrat: Tom Harkin
Republican: Christopher Reed
Lead Margin
2
Survey USA
October 28-October 29, 2008
61%
35%
26
3
Rasmussen Reports
October 23, 2008
57%
41%
16
4
Rasmussen Reports
September 25, 2008
54%
40%
14
5
Survey USA
September 17-September 18, 2008
60%
37%
23
6
Des Moines Register/ Selzer & Co
September 8-September 10, 2008
53%
34%
19
7
Rasmussen Reports
August 7, 2008
60%
36%
24
8
Rasmussen Reports
July 10, 2008
55%
37%
18
9
Rasmussen Reports
June 10, 2008
53%
37%
16
10
Research 2000
April 21-April 23, 2008
59%
20%
39

Questions and formulas:
Question: What were the dates administered in the Survey USA poll source where Republican Christopher Reed received 37%?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(A1="survey usa")*(D1="37%")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,(A2:A10="survey usa")*(D2:D10="37%")),2))
Level: medium
Question: What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16?
Formula: LET(query1,SUMMARIZE(D1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)<16))
Formula2: LET(query1,SUMMARIZE(D2:D10,SUMX(E2:E10)),FILTER(query1,CHOOSECOLS(query1,2)<16))
Level: hard
Question: What were the dates administered when the lead margin was smaller than 39 with Republican Christopher Reed at 37% and Democrat Tom Harkin at 53%?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(D1="37%")*(C1="53%")),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<39))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,(D2:D10="37%")*(C2:C10="53%")),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)<39))
Level: hard
Question: What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="rasmussen reports"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)=14))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,A2:A10="rasmussen reports"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)=14))
Level: hard
Question: What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1="research 2000"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>14))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,A2:A10="research 2000"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>14))
Level: hard