Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Results
Candidates
2
California 7
George Miller
Democratic
1974
Re-elected
George Miller (D) 77% Norman Reece (R) 23%
3
California 18
Gary Condit
Democratic
1989
Re-elected
Gary Condit (D) 86.7% Linda Degroat (L) 13.2%
4
California 20
Cal Dooley
Democratic
1990
Re-elected
Cal Dooley (D) 60.7% Cliff Unruh (R) 39.3%
5
California 21
Bill Thomas
Republican
1978
Re-elected
Bill Thomas (R) 78.9% John Evans (Ref) 21%
6
California 23
Elton Gallegly
Republican
1986
Re-elected
Elton Gallegly (R) 60% Daniel Gonzalez (D) 39.4%
7
California 25
Howard McKeon
Republican
1992
Re-elected
Howard McKeon (R) 74.7% Bruce Acker (L) 25.3%
8
California 30
Xavier Becerra
Democratic
1992
Re-elected
Xavier Becerra (D) 81.3% Patricia Parker (R) 18.8%
9
California 35
Maxine Waters
Democratic
1990
Re-elected
Maxine Waters (D) 89.3% Gordon Mego (AI) 10.7%

Questions and formulas:
Question: How many districts does gary condit represent?
Formula: ROWS(UNIQUE(FILTER(A1, B1="Gary Condit")))
Formula2: ROWS(UNIQUE(FILTER(A2:A9, B2:B9="Gary Condit")))
Level: medium
Question: What party was first elected in 1974?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1974),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,D2:D9=1974),3))
Level: medium
Question: What district is bill thomas from?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Bill Thomas"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="Bill Thomas"),1))
Level: medium
Question: What district is bill thomas from?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Bill Thomas"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="Bill Thomas"),1))
Level: medium