Table:
0
A
B
C
D
E
1
District
Incumbent
Party
First elected
Results
2
Missouri 1
William Lacy Clay Jr.
Democratic
2000
Re-elected
3
Missouri 2
Todd Akin
Republican
2000
Re-elected
4
Missouri 3
Russ Carnahan
Democratic
2004
Re-elected
5
Missouri 4
Ike Skelton
Democratic
1976
Re-elected
6
Missouri 5
Emanuel Cleaver
Democratic
2004
Re-elected
7
Missouri 6
Sam Graves
Republican
2000
Re-elected
8
Missouri 7
Roy Blunt
Republican
1996
Re-elected
9
Missouri 8
Jo Ann Emerson
Republican
1996
Re-elected
10
Missouri 9
Kenny Hulshof
Republican
1996
Re-elected

Questions and formulas:
Question: What district was a republican first elected in 2000?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1=2000)*(C1="republican")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,(D2:D10=2000)*(C2:C10="republican")),1))
Level: medium
Question: In what district was incumbent Russ Carnahan elected after 2000?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1>2000)*(B1="russ carnahan")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,(D2:D10>2000)*(B2:B10="russ carnahan")),1))
Level: medium