Table:
0
A
B
C
D
E
F
G
1
Candidate
Office
Home state
Popular vote
States – first place
States – second place
States – third place
2
Jon Huntsman
Former Governor
Utah
83173
0
0
1 New Hampshire
3
Rick Perry
Governor
Texas
42251
0
0
0
4
Michele Bachmann
U.S. Representative
Minnesota
35089
0
0
0
5
Buddy Roemer
Former Governor
Louisiana
33212
0
0
0
6
Herman Cain
None
Georgia
13538
0
0
0

Questions and formulas:
Question: How many different popular vote counts were there for the candidate Rick Perry?
Formula: ROWS(UNIQUE(FILTER(D1, A1="Rick Perry")))
Formula2: ROWS(UNIQUE(FILTER(D2:D6, A2:A6="Rick Perry")))
Level: medium
Question: Which office has 1 New Hampshire as a third place state?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="1 New Hampshire"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,G2:G6="1 New Hampshire"),2))
Level: medium
Question: How many different popular vote counts are there for Rick Perry?
Formula: ROWS(UNIQUE(FILTER(D1, A1="Rick Perry")))
Formula2: ROWS(UNIQUE(FILTER(D2:D6, A2:A6="Rick Perry")))
Level: medium
Question: What office is Jon Huntsman a candidate for?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="Jon Huntsman"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,A2:A6="Jon Huntsman"),2))
Level: medium
Question: How many states-first place are there for the office of Governor?
Formula: SUMIFS(E1,B1,"Governor")
Formula2: SUMIFS(E2:E6,B2:B6,"Governor")
Level: easy