Table:
0
A
B
C
D
E
1
Name
Country
Reign began
Reign ended
Length
2
Pharaoh Seth
Egypt
c.1755 BC
c.1755 BC
6 days
3
King John I
France and Navarre
15 November 1316
20 November 1316
5 days
4
Pharaoh Imyremeshaw
Ancient Egypt
c.1765 BC
c.1765 BC
4 days
5
King Crateuas
Macedon
399 BC
399 BC
4 days
6
Pope-elect Stephen
Holy See
23 March 752 AD
26 March 752 AD
3 days
7
Lê Trung Tông
Vietnam
October 1005
October 1005
3 days
8
Lê Quang Trị
Vietnam
1516
1516
3 days
9
Emperor Dục Đức
Vietnam
20 July 1883
23 July 1883
3 days
10
King Inayatullah Khan Seraj
Afghanistan
14 January 1929
17 January 1929
3 days
11
King Dipendra Bir Bikram Shah Dev
Nepal
1 June 2001
4 June 2001
<56 hours
12
Sultan Sayyid Khalid bin Barghash
Zanzibar
25 August 1896
27 August 1896
2 days

Questions and formulas:
Question: Whose reign ended in Egypt?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="egypt"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,B2:B12="egypt"),4))
Level: medium
Question: Whose reign ended in Afghanistan after 3 days?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(E1="3 days")*(B1="afghanistan")),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,(E2:E12="3 days")*(B2:B12="afghanistan")),4))
Level: medium
Question: Whose reign began in Vietnam and ended in October 1005?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="vietnam")*(D1="october 1005")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,(B2:B12="vietnam")*(D2:D12="october 1005")),3))
Level: medium
Question: When did Pharaoh Seth's reign end?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="pharaoh seth"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,A2:A12="pharaoh seth"),4))
Level: medium