Table:
0
A
B
C
D
E
F
1
State
Type
Name
Title
Royal house
From
2
Cai
Sovereign
Yi
Marquis
Ji
837 BC
3
Cai
Sovereign
Xi
Marquis
Ji
809 BC
4
Cao
Sovereign
Dai
Count
—
826 BC
5
Chen
Sovereign
Li
Duke
—
831 BC
6
Chu
Sovereign
Xiong Xun
Viscount
Mi
821 BC
7
Jin
Sovereign
Mu
Marquis
Ji
811 BC
8
Lu
Sovereign
Yi
Duke
Ji
815 BC
9
Lu
Sovereign
Boyu
Ruler
Ji
806 BC
10
Qi
Sovereign
Wen
Duke
Jiang
815 BC
11
Qi
Sovereign
Cheng
Duke
Jiang
803 BC
12
Qin
Sovereign
Zhuang
Duke
Ying
822 BC
13
Song
Sovereign
Hui
Duke
—
830 BC
14
Song
Sovereign
Ai
Duke
—
800 BC
15
Wey
Sovereign
Wu
Duke
—
813 BC
16
Yan
Sovereign
Li
Marquis
—
826 BC
17
Zheng
Sovereign
Huan
Duke
—
806 BC

Questions and formulas:
Question: In which state did Marquis Li rule?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(C1="li")*(D1="marquis")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(C2:C17="li")*(D2:D17="marquis")),1))
Level: medium
Question: What was the Royal House for the state of Song?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="song"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,A2:A17="song"),5))
Level: medium
Question: What type of state was Chu?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="chu"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,A2:A17="chu"),2))
Level: medium
Question: What type of state was Lu, when Yi was the ruler from the royal house of Ji?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(E1="ji")*(C1="yi")*(A1="lu")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(E2:E17="ji")*(C2:C17="yi")*(A2:A17="lu")),2))
Level: medium