Table:
0
A
B
C
D
E
F
G
1
Office
Republican ticket
Democratic ticket
Liberal ticket
Conservative ticket
Socialist Workers ticket
Socialist Labor ticket
2
Governor
Nelson A. Rockefeller
Robert M. Morgenthau
Robert M. Morgenthau
David H. Jaquith
Richard Garza
Eric Hass
3
Lieutenant Governor
Malcolm Wilson
John J. Burns
John J. Burns
E. Vernon Carbonara
Sylvia Weinstein
John Emanuel
4
Comptroller
John P. Lomenzo
Arthur Levitt
Arthur Levitt
Thomas D. Cole
Allen Taplin
Milton Herder
5
Attorney General
Louis J. Lefkowitz
Edward R. Dudley
Edward R. Dudley
Frederick S. Dennin
Leroy McRae
(none)
6
Judge of the Court of Appeals
Marcus G. Christ
John F. Scileppi
John F. Scileppi
(none)
(none)
(none)
7
U.S. Senator
Jacob K. Javits
James B. Donovan
James B. Donovan
Kieran O'Doherty
Carl Feingold
Stephen Emery

Questions and formulas:
Question: Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="edward r. dudley"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,D2:D7="edward r. dudley"),3))
Level: medium
Question: When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="john emanuel"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,G2:G7="john emanuel"),3))
Level: medium
Question: What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="sylvia weinstein"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,F2:F7="sylvia weinstein"),1))
Level: medium
Question: Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="robert m. morgenthau"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,C2:C7="robert m. morgenthau"),7))
Level: medium
Question: When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,B1="john p. lomenzo"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,B2:B7="john p. lomenzo"),6))
Level: medium