Table:
0
A
B
C
D
E
F
1
State
Type
Name
Title
Royal house
From
2
Cai
Sovereign
Zhao
Marquis
Ji
518 BC
3
Cao
Sovereign
Cao Bo Yang
Duke
—
501 BC
4
Chen
Sovereign
Min
Duke
—
501 BC
5
Chu
Sovereign
Zhao
King
Mi
515 BC
6
Jin
Sovereign
Ding
Duke
Ji
511 BC
7
Lu
Sovereign
Ding
Duke
Ji
509 BC
8
Qi
Sovereign
Jing
Duke
Jiang
547 BC
9
Qi (Henan)
Sovereign
Li
Duke
—
505 BC
10
Qin
Sovereign
Hui I
Duke
Ying
500 BC
11
Song
Sovereign
Jing
Duke
—
516 BC
12
Teng
Sovereign
Qing
Duke
—
512 BC
13
Wey
Sovereign
Ling
Duke
—
534 BC
14
Wu
Sovereign
Helü
King
Zhou
514 BC
15
Yan
Sovereign
Jian I
Duke
—
504 BC
16
Yue
Sovereign
Yun Chang
Marquis
—
538 BC
17
Zheng
Sovereign
Sheng
Duke
—
500 BC

Questions and formulas:
Question: What is the type for Duke when the from is 512 bc?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(D1="duke")*(F1="512 bc")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(D2:D17="duke")*(F2:F17="512 bc")),2))
Level: medium
Question: What state is Ding and has a royal house of Ji?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(E1="ji")*(C1="ding")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(E2:E17="ji")*(C2:C17="ding")),1))
Level: medium
Question: Which name has a state of Yan?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="yan"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,A2:A17="yan"),3))
Level: medium
Question: Which state has a royal house of Ying?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="ying"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,E2:E17="ying"),1))
Level: medium
Question: Which state has a royal house of Jiang?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="jiang"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,E2:E17="jiang"),1))
Level: medium