Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Status
Opponent
2
Pennsylvania4
Ron Klink
Democratic
1992
Re-elected
Ron Klink (D) 64.2% Ed Peglow (R) 35.8%
3
Pennsylvania5
William F. Clinger, Jr.
Republican
1978
Re-elected
William F. Clinger, Jr. (R) unopposed
4
Pennsylvania7
Curt Weldon
Republican
1986
Re-elected
Curt Weldon (R) 69.7% Sara R. Nichols (D) 30.3%
5
Pennsylvania9
Bud Shuster
Republican
1972
Re-elected
Bud Shuster (R) unopposed
6
Pennsylvania12
John Murtha
Democratic
1974
Re-elected
John Murtha (D) 68.9% Bill Choby (R) 31.1%
7
Pennsylvania17
George Gekas
Republican
1982
Re-elected
George Gekas (R) unopposed
8
Pennsylvania18
Rick Santorum
Republican
1990
Retired to run for U.S. Senate Democratic gain
Michael F. Doyle (D) 54.8% John McCarty (R) 45.2%
9
Pennsylvania19
William F. Goodling
Republican
1974
Re-elected
William F. Goodling (R) unopposed

Questions and formulas:
Question: What party does ron klink represent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Ron Klink"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="Ron Klink"),3))
Level: medium
Question: Who was in the election that was for incumbent bud shuster's seat?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Bud Shuster"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="Bud Shuster"),6))
Level: medium
Question: What district had someone first elected in 1982?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1982),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,D2:D9=1982),1))
Level: medium
Question: How many republican incumbents first elected in 1974?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(C1="Republican")*(D1=1974)),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,(C2:C9="Republican")*(D2:D9=1974)),2))
Level: medium
Question: What was the result of the election where william f. goodling was the incumbent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="William F. Goodling"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="William F. Goodling"),5))
Level: medium