Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
California 3
John E. Moss
Democratic
1952
Retired Democratic hold
Bob Matsui (D) 53.4% Sandy Smoley (R) 46.6%
3
California 4
Robert L. Leggett
Democratic
1962
Retired Democratic hold
Victor H. Fazio (D) 55.4% Rex Hime (R) 44.6%
4
California 5
John L. Burton
Democratic
1974
Re-elected
John L. Burton (D) 66.8% Dolores Skore (R) 33.2%
5
California 8
Ron Dellums
Democratic
1970
Re-elected
Ron Dellums (D) 57.4% Charles V. Hughes (R) 42.6%
6
California 10
Don Edwards
Democratic
1962
Re-elected
Don Edwards (D) 67.1% Rudy Hansen (R) 32.9%
7
California 15
Bernice F. Sisk
Democratic
1954
Retired Democratic hold
Tony Coelho (D) 60.1% Chris Patterakis (R) 39.9%
8
California 16
Leon Panetta
Democratic
1976
Re-elected
Leon Panetta (D) 61.4% Eric Seastrand (R) 38.6%
9
California 17
John Hans Krebs
Democratic
1974
Lost re-election Republican gain
Chip Pashayan (R) 54.5% John Hans Krebs (D) 45.5%
10
California 20
Barry Goldwater, Jr.
Republican
1969
Re-elected
Barry Goldwater, Jr. (R) 66.4% Pat Lear (D) 33.6%
11
California 26
John H. Rousselot
Republican
1970
Re-elected
John H. Rousselot (R) Unopposed
12
California 27
Bob Dornan
Republican
1976
Re-elected
Bob Dornan (R) 51.0% Carey Peck (D) 49.0%
13
California 30
George E. Danielson
Democratic
1970
Re-elected
George E. Danielson (D) 71.4% Henry Ares (R) 28.6%
14
California 31
Charles H. Wilson
Democratic
1962
Re-elected
Charles H. Wilson (D) 67.8% Don Grimshaw (R) 32.2%
15
California 35
James F. Lloyd
Democratic
1974
Re-elected
James F. Lloyd (D) 54.0% David Dreier (R) 46.0%
16
California 38
Jerry M. Patterson
Democratic
1974
Re-elected
Jerry M. Patterson (D) 58.6% Dan Goedeke (R) 41.4%
17
California 40
Robert Badham
Republican
1976
Re-elected
Robert Badham (R) 65.9% Jim McGuy (D) 34.1%
18
California 41
Bob Wilson
Republican
1952
Re-elected
Bob Wilson (R) 58.1% King Golden, Jr. (D) 41.9%

Questions and formulas:
Question: What is the district that has Bob Wilson as an incumbent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Bob Wilson"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F18,B2:B18="Bob Wilson"),1))
Level: medium
Question: How many outcomes were there in the elections in California 38?
Formula: ROWS(UNIQUE(FILTER(E1, A1="California 38")))
Formula2: ROWS(UNIQUE(FILTER(E2:E18, A2:A18="California 38")))
Level: medium
Question: What district is Charles H. Wilson the incumbent of?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Charles H. Wilson"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F18,B2:B18="Charles H. Wilson"),1))
Level: medium
Question: What party was the winning one in the elections in the California 30 district?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="California 30"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F18,A2:A18="California 30"),3))
Level: medium