Table:
0
A
B
C
D
E
F
1
State
Type
Name
Title
Royal house
From
2
Cai
Sovereign
Wu
Marquis
Ji
863 BC
3
Cai
Sovereign
Yi
Marquis
Ji
837 BC
4
Cao
Sovereign
Yi
Count
—
864 BC
5
Cao
Sovereign
You
Count
—
835 BC
6
Chen
Sovereign
You
Duke
—
854 BC
7
Chen
Sovereign
Li
Duke
—
831 BC
8
Chu
Sovereign
Xiong Yong
Viscount
Mi
846 BC
9
Chu
Sovereign
Xiong Yan the younger
Viscount
Mi
837 BC
10
Jin
Sovereign
Xi
Marquis
Ji
840 BC
11
Lu
Sovereign
Shen
Duke
Ji
854 BC
12
Qi
Sovereign
Wu
Duke
Jiang
850 BC
13
Qin
Sovereign
Qin Zhong
Ruler
Ying
845 BC
14
Song
Sovereign
Xi
Duke
—
858 BC
15
Song
Sovereign
Hui
Duke
—
830 BC
16
Wey
Sovereign
Li
Marquis
—
855 BC
17
Yan
Sovereign
Hui
Marquis
—
864 BC

Questions and formulas:
Question: What is the title for Hui that ruled from 864 BC?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(C1="hui")*(F1="864 bc")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(C2:C17="hui")*(F2:F17="864 bc")),4))
Level: medium
Question: What type is You from the state of Chen?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(A1="chen")*(C1="you")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(A2:A17="chen")*(C2:C17="you")),2))
Level: medium
Question: Xiong Yan the Younger of the house of Mi ruled from what year?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(E1="mi")*(C1="xiong yan the younger")),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F17,(E2:E17="mi")*(C2:C17="xiong yan the younger")),6))
Level: medium