Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Maryland 1
Robert Bauman
Republican
1973
Re-elected
Robert Bauman (R) 53.0% Thomas J. Hatem (D) 47.0%
3
Maryland 2
Clarence Long
Democratic
1962
Re-elected
Clarence Long (D) 77.1% John M. Seney (R) 22.9%
4
Maryland 4
Marjorie Holt
Republican
1972
Re-elected
Marjorie Holt (R) 58.1% Fred L. Wineland (D) 41.9%
5
Maryland 6
Goodloe Byron
Democratic
1970
Re-elected
Goodloe Byron (D) 73.7% Elton R. Wampler (R) 26.3%
6
Maryland 7
Parren Mitchell
Democratic
1970
Re-elected
Parren Mitchell (D) Unopposed

Questions and formulas:
Question: List all candidates in elections where the incumbent politician is Goodloe Byron.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Goodloe Byron"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Goodloe Byron"),6))
Level: medium
Question: How many instances are there of party in the situation where Robert Bauman is the incumbent politician?
Formula: ROWS(UNIQUE(FILTER(C1, B1="Robert Bauman")))
Formula2: ROWS(UNIQUE(FILTER(C2:C6, B2:B6="Robert Bauman")))
Level: medium
Question: What is the party of the election in which Robert Bauman is the incumbent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Robert Bauman"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Robert Bauman"),3))
Level: medium
Question: List all results where the voting district is Maryland 7.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Maryland 7"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="Maryland 7"),5))
Level: medium
Question: What are all the results where Robert Bauman is the incumbent politician?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Robert Bauman"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Robert Bauman"),5))
Level: medium