Table:
0
A
B
C
D
E
1
District
Incumbent
Party
First elected
Results
2
Pennsylvania 1
Bob Brady
Democratic
1998
Re-elected
3
Pennsylvania 2
Chaka Fattah
Democratic
1994
Re-elected
4
Pennsylvania 3
Phil English
Republican
1994
Re-elected
5
Pennsylvania 4
Melissa Hart
Republican
2000
Lost re-election Democratic gain
6
Pennsylvania 5
John Peterson
Republican
1996
Re-elected
7
Pennsylvania 6
Jim Gerlach
Republican
2002
Re-elected
8
Pennsylvania 7
Curt Weldon
Republican
1986
Lost re-election Democratic gain
9
Pennsylvania 8
Mike Fitzpatrick
Republican
2004
Lost re-election Democratic gain
10
Pennsylvania 9
Bill Shuster
Republican
2001
Re-elected
11
Pennsylvania 10
Don Sherwood
Republican
1998
Lost re-election Democratic gain
12
Pennsylvania 11
Paul Kanjorski
Democratic
1984
Re-elected
13
Pennsylvania 12
John Murtha
Democratic
1974
Re-elected
14
Pennsylvania 13
Allyson Schwartz
Democratic
2004
Re-elected
15
Pennsylvania 14
Mike Doyle
Democratic
1994
Re-elected
16
Pennsylvania 15
Charlie Dent
Republican
2004
Re-elected
17
Pennsylvania 16
Joe Pitts
Republican
1996
Re-elected
18
Pennsylvania 17
Tim Holden
Democratic
1992
Re-elected
19
Pennsylvania 18
Tim Murphy
Republican
2002
Re-elected
20
Pennsylvania 19
Todd Platts
Republican
2000
Re-elected

Questions and formulas:
Question: Who is the republican Incumbent for Pennsylvania 9?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(C1="republican")*(A1="pennsylvania 9")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E20,(C2:C20="republican")*(A2:A20="pennsylvania 9")),2))
Level: medium
Question: What are the results for Bill Shuster?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="bill shuster"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E20,B2:B20="bill shuster"),5))
Level: medium
Question: What is the greatest first elected for Pennsylvania 10?
Formula: MAXIFS(D1,A1,"pennsylvania 10")
Formula2: MAXIFS(D2:D20,A2:A20,"pennsylvania 10")
Level: easy