Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Massachusetts 2
Edward Boland
Democratic
1952
Re-elected
Edward Boland (D) Unopposed
3
Massachusetts 3
Philip Philbin
Democratic
1942
Re-elected
Philip Philbin (D) Unopposed
4
Massachusetts 6
William H. Bates
Republican
1950
Re-elected
William H. Bates (R) Unopposed
5
Massachusetts 7
Thomas J. Lane
Democratic
1941
Re-elected
Thomas J. Lane (D) 75.6% Robert T. Breed (R) 24.4%
6
Massachusetts 11
Tip O'Neill
Democratic
1952
Re-elected
Tip O'Neill (D) 80.4% Elliott H. Stone (R) 19.6%

Questions and formulas:
Question: What is the district that has a republican?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="Republican"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,C2:C6="Republican"),1))
Level: medium
Question: What party is incumbent thomas j. lane from?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Thomas J. Lane"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Thomas J. Lane"),3))
Level: medium
Question: What is the last year that someone is first elected in this table?
Formula: UNIQUE(D1)
Formula2: UNIQUE(D2:D6)
Level: easy