Table:
0
A
B
C
D
E
1
Election
Candidate
Number of votes
Share of votes
Outcome of election
2
2008
Edward Mahama
73,494
0.9%
Minority
3
2004
Edward Mahama
165,375
1.9%
Minority
4
2000
Edward Mahama
189,659
2.5%
Minority
5
1996
Edward Mahama
—
3.0%
Minority
6
1992
Hilla Limann
266,728
6.7%
Minority

Questions and formulas:
Question: What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="edward mahama")*(A1<2004)*(D1="3.0%")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,(B2:B6="edward mahama")*(A2:A6<2004)*(D2:D6="3.0%")),3))
Level: medium
Question: What is the outcome of the election with edward mahama as a candidate and 73,494 votes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="edward mahama")*(C1=73494)),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,(B2:B6="edward mahama")*(C2:C6=73494)),5))
Level: medium
Question: What is the earlest election with a 0.9% share of votes?
Formula: MINIFS(A1,D1,"0.9%")
Formula2: MINIFS(A2:A6,D2:D6,"0.9%")
Level: easy
Question: Who is the candidate with 73,494 votes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1=73494),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,C2:C6=73494),2))
Level: medium
Question: What is the share of votes in the 2008 election?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1=2008),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6=2008),4))
Level: medium
Question: What is the number of votes of candidate edward mahama, who had 0.9% share of votes?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="edward mahama")*(D1="0.9%")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,(B2:B6="edward mahama")*(D2:D6="0.9%")),3))
Level: medium