Table:
0
A
B
C
D
E
1
Office
Democratic ticket
Republican ticket
American Labor ticket
Socialist ticket
2
Governor
Herbert H. Lehman
Thomas E. Dewey
Herbert H. Lehman
Norman Thomas
3
Lieutenant Governor
Charles Poletti
Frederic H. Bontecou
Charles Poletti
George W. Hartmann
4
Comptroller
Morris S. Tremaine
Julius Rothstein
Langdon W. Post
Coleman B. Cheney
5
Attorney General
John J. Bennett, Jr.
Arthur V. McDermott
Joseph V. O'Leary
Marion L. Severn
6
U.S. Senator (full term)
Robert F. Wagner
John Lord O'Brian
Robert F. Wagner
Herman J. Hahn
7
U.S. Senator (short term)
James M. Mead
Edward F. Corsi
James M. Mead
Harry W. Laidler
8
U.S. Representative-at-large
Matthew J. Merritt
Richard B. Scandrett, Jr.
Matthew J. Merritt
Brendan Sexton
9
U.S. Representative-at-large
Caroline O'Day
Helen Z. M. Rodgers
Caroline O'Day
Edna Mitchell Blue

Questions and formulas:
Question: Which American Labor candidate ran against Democratic candidate Robert F. Wagner?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="robert f. wagner"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,B2:B9="robert f. wagner"),4))
Level: medium
Question: Which Socialist candidate ran against American Labor candidate Caroline O'Day?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="caroline o'day"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,D2:D9="caroline o'day"),5))
Level: medium
Question: Which Democrtic candidate ran against the Socialist candidate Edna Mitchell Blue?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="edna mitchell blue"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="edna mitchell blue"),2))
Level: medium
Question: Which American Labor candidate is running against the Socialist candidate Herman J. Hahn?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="herman j. hahn"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,E2:E9="herman j. hahn"),4))
Level: medium
Question: Which Republican ran against the American Labor candidate Matthew J. Merritt?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="matthew j. merritt"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,D2:D9="matthew j. merritt"),3))
Level: medium
Question: Which American Labor candidate ran against Republican Thomas E. Dewey?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="thomas e. dewey"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,C2:C9="thomas e. dewey"),4))
Level: medium