Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Massachusetts 2
Henry L. Bowles
Republican
1925
Re-elected
Henry L. Bowles (R) 64.0% John Hall (D) 36.0%
3
Massachusetts 3
Frank H. Foss
Republican
1924
Re-elected
Frank H. Foss (R) 62.8% Joseph E. Casey (D) 37.2%
4
Massachusetts 6
Abram Andrew
Republican
1921
Re-elected
Abram Andrew (R) 76.9% James McPherson (D) 23.1%
5
Massachusetts 10
John J. Douglass
Democratic
1924
Re-elected
John J. Douglass (D) Unopposed
6
Massachusetts 11
George H. Tinkham
Republican
1914
Re-elected
George H. Tinkham (R) Unopposed
7
Massachusetts 12
James A. Gallivan
Democratic
1914
Re-elected
James A. Gallivan (D) Unopposed

Questions and formulas:
Question: What was the result of the election featuring james a. gallivan (d) unopposed?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="James A. Gallivan (D) Unopposed"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,F2:F7="James A. Gallivan (D) Unopposed"),5))
Level: medium
Question: How many districts does john j. douglass represent?
Formula: ROWS(UNIQUE(FILTER(A1, B1="John J. Douglass")))
Formula2: ROWS(UNIQUE(FILTER(A2:A7, B2:B7="John J. Douglass")))
Level: medium