Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Pennsylvania 4
Joseph P. Kolter
Democratic
1982
Re-elected
Joseph P. Kolter (D) 56.8% Jim Kunder (R) 43.2%
3
Pennsylvania 6
Gus Yatron
Democratic
1968
Re-elected
Gus Yatron (D) Unopposed
4
Pennsylvania 7
Robert W. Edgar
Democratic
1974
Re-elected
Robert W. Edgar (D) 50.1% Curt Weldon (R) 49.9%
5
Pennsylvania 9
Bud Shuster
Republican
1972
Re-elected
Bud Shuster (R) 66.5% Nancy Kulp (D) 33.5%
6
Pennsylvania 10
Joseph M. McDade
Republican
1962
Re-elected
Joseph M. McDade (R) 77.1% Gene Basalyga (D) 22.9%

Questions and formulas:
Question: In which district is Robert W. Edgar the incumbent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Robert W. Edgar"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Robert W. Edgar"),1))
Level: medium
Question: To which party does Robert W. Edgar belong?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Robert W. Edgar"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Robert W. Edgar"),3))
Level: medium