Table:
0
A
B
C
D
E
1
Type
Name
Title
Royal house
From
2
Sovereign
Shaokang
King
Xia dynasty
2007 BC
3
Sovereign
Zhu
King
Xia dynasty
1985 BC
4
Sovereign
Huai
King
Xia dynasty
1968 BC
5
Sovereign
Mang
King
Xia dynasty
1924 BC
6
Sovereign
Xie
King
Xia dynasty
1906 BC

Questions and formulas:
Question: Whose rule began in 1906 BC?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="1906 bc"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="1906 bc"),2))
Level: medium
Question: What is the title of the one who ruled from 2007 BC?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="2007 bc"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="2007 bc"),3))
Level: medium
Question: What is the name of the ruler whose rule began in 1924 BC?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="1924 bc"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="1924 bc"),2))
Level: medium
Question: What royal house did Shaokang belong to?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="shaokang"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="shaokang"),4))
Level: medium