Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Pennsylvania 5
Richard T. Schulze
Republican
1974
Re-elected
Richard T. Schulze (R) 67.2% Bob Burger (D) 32.8%
3
Pennsylvania 6
Gus Yatron
Democratic
1968
Re-elected
Gus Yatron (D) 72.0% Harry B. Martin (R) 28.0%
4
Pennsylvania 7
Robert W. Edgar
Democratic
1974
Re-elected
Robert W. Edgar (D) 55.4% Steve Joachim (R) 44.6%
5
Pennsylvania 9
Bud Shuster
Republican
1972
Re-elected
Bud Shuster (R) 65.1% Eugene J. Duncan (D) 34.9%
6
Pennsylvania 17
Allen E. Ertel
Democratic
1976
Retired to run for Governor Republican gain
George Gekas (R) 57.6% Larry Hochendoner (D) 42.4%

Questions and formulas:
Question: How many candidates won the election in the district whose incumbent is Bud Shuster?
Formula: ROWS(UNIQUE(FILTER(F1, B1="Bud Shuster")))
Formula2: ROWS(UNIQUE(FILTER(F2:F6, B2:B6="Bud Shuster")))
Level: medium
Question: What are the candidates in the district whose incumbent is Gus Yatron?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Gus Yatron"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Gus Yatron"),6))
Level: medium
Question: What's the winning party in the Pennsylvania 6 district?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Pennsylvania 6"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="Pennsylvania 6"),3))
Level: medium