Table:
0
A
B
C
D
E
1
Poll Source
Dates administered
Democrat: Carl Levin
Republican: Jack Hoogendyk
Lead Margin
2
Rasmussen Reports
October 8, 2008
61%
36%
25
3
Strategic Vision
September 22-September 24, 2008
57%
29%
28
4
EPIC-MRA
September 14-September 17, 2008
54%
26%
28
5
Rasmussen Reports
September 10, 2008
57%
38%
19
6
Public Policy Polling
September 6-September 7, 2008
51%
36%
15
7
Strategic Vision
September 5-September 7, 2008
58%
28%
20
8
EPIC-MRA
August 18-August 21, 2008
59%
27%
32
9
Rasmussen Reports
August 7, 2008
57%
39%
18
10
Public Policy Polling
July 23-July 27, 2008
54%
35%
19
11
Rasmussen Reports
July 10, 2008
59%
36%
23
12
Public Policy Polling
June 21-June 22, 2008
54%
32%
22
13
Rasmussen Reports
June 11, 2008
55%
35%
20
14
Rasmussen Reports
May 7, 2008
54%
37%
17

Questions and formulas:
Question: What is Poll Source, when Democrat: Carl Levin is 61%?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="61%"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E14,C2:C14="61%"),1))
Level: medium
Question: What is Democrat: Carl Levin, when Lead Margin is 22?
Formula: LET(query1,SUMMARIZE(C1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=22))
Formula2: LET(query1,SUMMARIZE(C2:C14,SUMX(E2:E14)),FILTER(query1,CHOOSECOLS(query1,2)=22))
Level: hard
Question: What is Dates Administered, when Poll Source is Rasmussen Reports, when Lead Margin is greater than 18, when Republican: Jack Hoogendyk is 36%, and when Democrat: Carl Levin is 59%?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(A1="rasmussen reports")*(D1="36%")*(C1="59%")),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>18))
Formula2: LET(query1,LET(query1,FILTER(A2:E14,(A2:A14="rasmussen reports")*(D2:D14="36%")*(C2:C14="59%")),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>18))
Level: hard
Question: What is Dates Administered, when Democrat: Carl Levin is 61%?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="61%"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E14,C2:C14="61%"),2))
Level: medium