Table:
0
A
B
C
D
E
F
G
H
I
1
1932 (before recount)
party
Manhattan
The Bronx
Brooklyn
Queens
Richmond [Staten Is.]
Total
%
2
John P. O'Brien
Democratic
308,944
181,639
358,945
176,070
30,517
1056115
53.2%
3
John P. O'Brien
Democratic
60.8%
52.0%
51.0%
47.9%
54.3%
1056115
53.2%
4
Lewis H. Pounds
Republican
116,729
48,366
157,152
105,068
16,586
443901
22.4%
5
Lewis H. Pounds
Republican
23.0%
13.9%
22.3%
28.6%
29.5%
443901
22.4%
6
Morris Hillquit
Socialist
40,011
68,980
113,622
24,981
2,293
249887
12.6%
7
Morris Hillquit
Socialist
7.9%
19.8%
16.2%
6.8%
4.1%
249887
12.6%
8
Joseph V. McKee
Independent (write-in)
42,299
50,212
73,431
61,648
6,782
234372
11.8%
9
Joseph V. McKee
Independent (write-in)
8.3%
14.4%
10.4%
16.8%
12.1%
234372
11.8%

Questions and formulas:
Question: what's the party with brooklyn value of 51.0%
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:I1,E1="51.0%"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:I9,E2:E9="51.0%"),2))
Level: medium
Question: what's the brooklyn with queens value of 16.8%
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:I1,F1="16.8%"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:I9,F2:F9="16.8%"),5))
Level: medium
Question: what is the minimum total
Formula: MIN(H1)
Formula2: MIN(H2:H9)
Level: easy
Question: what's the % with total value of 249887 and queens value of 6.8%
Formula: LET(query1,LET(query1,FILTER(A1:I1,F1="6.8%"),SUMMARIZE(CHOOSECOLS(query1,9),SUMX(CHOOSECOLS(query1,8)))),FILTER(query1,CHOOSECOLS(query1,2)=249887))
Formula2: LET(query1,LET(query1,FILTER(A2:I9,F2:F9="6.8%"),SUMMARIZE(CHOOSECOLS(query1,9),SUMX(CHOOSECOLS(query1,8)))),FILTER(query1,CHOOSECOLS(query1,2)=249887))
Level: hard