Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Massachusetts 1
John W. Heselton
Republican
1944
Re-elected
John W. Heselton (R) 55.6% John J. Dwyer (D) 44.4%
3
Massachusetts 3
Philip Philbin
Democratic
1942
Re-elected
Philip Philbin (D) Unopposed
4
Massachusetts 5
Edith Nourse Rogers
Republican
1925
Re-elected
Edith Nourse Rogers (R) Unopposed
5
Massachusetts 7
Thomas J. Lane
Democratic
1941
Re-elected
Thomas J. Lane (D) Unopposed
6
Massachusetts 11
Tip O'Neill
Democratic
1952
Re-elected
Tip O'Neill (D) 78.2% Charles S. Bolster (R) 21.8%

Questions and formulas:
Question: John W. Heselton was first elected in what year?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="John W. Heselton"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="John W. Heselton"),4))
Level: medium
Question: Thomas J. Lane is the incumbent of how many parties?
Formula: ROWS(UNIQUE(FILTER(C1, B1="Thomas J. Lane")))
Formula2: ROWS(UNIQUE(FILTER(C2:C6, B2:B6="Thomas J. Lane")))
Level: medium
Question: Who is the incumbent first elected in 1944?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1944),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,D2:D6=1944),2))
Level: medium
Question: What was the result for the politician first elected in 1942?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1942),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,D2:D6=1942),5))
Level: medium