Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Massachusetts 1
Silvio Conte
Republican
1958
Re-elected
Silvio Conte (R) 82.7% John R. Arden (D) 17.3%
3
Massachusetts 2
Edward Boland
Democratic
1952
Retired Democratic hold
Richard Neal (D) 80.3% Louis R. Godena (I) 19.7%
4
Massachusetts 3
Joseph D. Early
Democratic
1974
Re-elected
Joseph D. Early (D) Unopposed
5
Massachusetts 4
Barney Frank
Democratic
1980
Re-elected
Barney Frank (D) 70.3% Debra R. Tucker (R) 29.7%
6
Massachusetts 7
Ed Markey
Democratic
1976
Re-elected
Ed Markey (D) Unopposed
7
Massachusetts 9
Joe Moakley
Democratic
1972
Re-elected
Joe Moakley (D) Unopposed

Questions and formulas:
Question: Name the incumbent for first elected 1958
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1958),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,D2:D7=1958),2))
Level: medium
Question: What is the district for 1952?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1952),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,D2:D7=1952),1))
Level: medium
Question: What is the incumbent for 1974?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1974),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,D2:D7=1974),2))
Level: medium