Table:
0
A
B
C
D
E
1
District
Incumbent
Party
First elected
Result
2
California 1
Vacant
Vacant
Vacant
Democratic gain
3
California 2
Marion Biggs
Democratic
1886
Retired Democratic hold
4
California 3
Joseph McKenna
Republican
1884
Re-elected
5
California 4
William W. Morrow
Republican
1884
Retired Republican hold
6
California 5
Thomas J. Clunie
Democratic
1888
Lost re-election Republican gain
7
California 6
William Vandever
Republican
1886
Retired Republican hold

Questions and formulas:
Question: What are incumbent William Vandever's results?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="william vandever"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,B2:B7="william vandever"),5))
Level: medium
Question: Who was the first person elected from Democratic GAIN?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="democratic gain"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,E2:E7="democratic gain"),4))
Level: medium
Question: What was the result for incumbent Joseph McKenna who was first elected in 1884?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1=1884)*(B1="joseph mckenna")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,(D2:D7=1884)*(B2:B7="joseph mckenna")),5))
Level: medium
Question: When was republican incumbent Joseph McKenna first elected?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(C1="republican")*(B1="joseph mckenna")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,(C2:C7="republican")*(B2:B7="joseph mckenna")),4))
Level: medium