Table:
0
A
B
C
D
E
1
District
Incumbent
Party
First elected
Result
2
California 1
Barclay Henley
Democratic
1882
Retired Democratic hold
3
California 2
James A. Louttit
Republican
1884
Retired Democratic gain
4
California 3
Joseph McKenna
Republican
1884
Re-elected
5
California 4
William W. Morrow
Republican
1884
Re-elected
6
California 5
Charles N. Felton
Republican
1884
Re-elected
7
California 6
Henry Markham
Republican
1884
Retired Republican hold

Questions and formulas:
Question: Which party had a Retired Democratic hold?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="retired democratic hold"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,E2:E7="retired democratic hold"),3))
Level: medium
Question: What's the average year Charles N. Felton was re-elected?
Formula: AVERAGE(FILTER(D1, (E1="re-elected")*(B1="charles n. felton")))
Formula2: AVERAGE(FILTER(D2:D7, (E2:E7="re-elected")*(B2:B7="charles n. felton")))
Level: easy
Question: What year was Barclay Henley first elected?
Formula: SUMIFS(D1,B1,"barclay henley")
Formula2: SUMIFS(D2:D7,B2:B7,"barclay henley")
Level: easy