Table:
0
A
B
C
D
E
1
District
Incumbent
Party
First elected
Results
2
Arizona 1
Rick Renzi
Republican
2002
Re-elected
3
Arizona 2
Trent Franks
Republican
2002
Re-elected
4
Arizona 3
John Shadegg
Republican
1994
Re-elected
5
Arizona 4
Ed Pastor
Democratic
1990
Re-elected
6
Arizona 5
J. D. Hayworth
Republican
1994
Lost re-election Democratic gain
7
Arizona 6
Jeff Flake
Republican
2000
Re-elected
8
Arizona 7
Raul Grijalva
Democratic
2002
Re-elected
9
Arizona 8
Jim Kolbe
Republican
1984
Retired Democratic gain

Questions and formulas:
Question: What were the Results in Arizona 1 District?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="arizona 1"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="arizona 1"),5))
Level: medium
Question: What Republican District had Incumbent First Elected in 2000 then Re-elected?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(C1="republican")*(E1="re-elected")*(D1=2000)),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,(C2:C9="republican")*(E2:E9="re-elected")*(D2:D9=2000)),1))
Level: medium
Question: What is John Shadegg's First Elected date?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="john shadegg"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="john shadegg"),4))
Level: medium