Table:
0
A
B
C
D
E
1
Alaska
Arizona
Arkansas
California
Colorado
2
Connecticut
Delaware
Florida
Georgia
Hawaii
3
Idaho
Illinois
Iowa
Kentucky
Louisiana
4
Maine
Maryland
Massachusetts
Michigan
Minnesota
5
Mississippi
Missouri
Montana
Nebraska
Nevada
6
New Jersey
New Mexico
New York
North Carolina
North Dakota
7
Oklahoma
Pennsylvania
Rhode Island
South Carolina
South Dakota
8
Tennessee
Vermont
Virginia
Washington
West Virginia

Questions and formulas:
Question: Name the colorado when alaska is connecticut
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Connecticut"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Connecticut"),5))
Level: medium
Question: Name the california where alaska tennessee
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Tennessee"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Tennessee"),4))
Level: medium