Table:
0
A
B
C
D
E
F
G
H
1
District
Incumbent
2008 Status
Democratic
Republican
Independent Green
Libertarian
Other Party
2
1
Rob Wittman
Re-election
Bill Day
Rob Wittman
None
Nathan Larson
None
3
2
Thelma Drake
Re-election
Glenn Nye
Thelma Drake
None
None
None
4
3
Robert C. Scott
Re-election
Robert C. Scott
None
None
None
None
5
4
Randy Forbes
Re-election
Andrea Miller
Randy Forbes
None
None
None
6
5
Virgil Goode
Re-election
Tom Perriello
Virgil Goode
None
None
None
7
6
Bob Goodlatte
Re-election
Sam Rasoul
Bob Goodlatte
None
None
Janice Lee Allen
8
7
Eric Cantor
Re-election
Anita Hartke
Eric Cantor
None
None
None
9
8
Jim Moran
Re-election
Jim Moran
Mark Ellmore
J. Ron Fisher
None
None
10
9
Rick Boucher
Re-election
Rick Boucher
None
None
None
None
11
10
Frank Wolf
Re-election
Judy Feder
Frank Wolf
None
None
Neeraj Nigam

Questions and formulas:
Question: What was the 2008 election status when glenn nye was the running democrat?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,D1="Glenn Nye"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H11,D2:D11="Glenn Nye"),3))
Level: medium
Question: Who was the republican candidate in the race with incumbent thelma drake?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,B1="Thelma Drake"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H11,B2:B11="Thelma Drake"),5))
Level: medium
Question: How many districts had republican Bob Goodlatte as a candidate?
Formula: SUMIFS(A1,E1,"Bob Goodlatte")
Formula2: SUMIFS(A2:A11,E2:E11,"Bob Goodlatte")
Level: easy
Question: Who was the democratic candidate when the republican was  frank wolf?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,E1="Frank Wolf"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H11,E2:E11="Frank Wolf"),4))
Level: medium