Table:
0
A
B
C
D
E
F
G
1
2009 Democratic primary
Manhattan
The Bronx
Brooklyn
Queens
Staten Island
Total
2
William C. Thompson, Jr.
70,881
31,950
75,519
49,063
7,484
234,897
3
William C. Thompson, Jr.
73.7%
73.5%
73.9%
63.2%
67.0%
234,897
4
Tony Avella
18,213
7,754
17,945
22,903
2,959
69,774
5
Tony Avella
18.9%
17.8%
17.6%
29.5%
26.5%
69,774
6
Roland Rogers
6,975
3,751
8,612
5,553
700
25,591
7
Roland Rogers
7.3%
8.6%
8.4%
7.2%
6.3%
25,591
8
all Write-In votes
127
10
153
81
26
397
9
all Write-In votes
0.1%
0.02%
0.1%
0.1%
0.2%
397
10
T O T A L
96,196
43,465
102,229
77,600
11,169
330,659

Questions and formulas:
Question: How many voted in queens for the canddiate with all write-in votes and 26 staten island votes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(A1="all write-in votes")*(F1=26)),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G10,(A2:A10="all write-in votes")*(F2:F10=26)),5))
Level: medium