Table:
0
A
B
C
D
E
1
Name of the war
Ottoman sultan
Persian shah
Treaty at the end of the war
Victor
2
Battle of Chaldiran (1514)
Selim I
Ismail I
None
The Ottoman Empire
3
War of 1532–1555
Suleiman I
Tahmasp I
Treaty of Amasya (1555)
The Ottoman Empire
4
War of 1578–1590
Murad III
Abbas I
Treaty of Constantinople (1590)
The Ottoman Empire
5
War of 1603–1618 , second stage
Ahmed I , Mustafa I , Osman II
Abbas I
Treaty of Serav (1618)
The Persian Empire
6
War of 1623–1639
Murad IV
Abbas I , Safi
Treaty of Zuhab (1639)
The Ottoman Empire
7
War of 1722–1727
Ahmed III
Mahmud Hotaki , Ashraf Hotaki
Treaty of Hamedan (1727)
Stalemate
8
War of 1730–1736 , first stage
Ahmed III , Mahmud I
Nader Shah
Treaty of Ahmet Pasha (1732)
The Persian Empire
9
War of 1730–1736 , second stage
Mahmud I
Abbas III , Nader Shah
Treaty of Constantinople (1736)
The Persian Empire
10
War of 1743–1746
Mahmud I
Nader Shah
Treaty of Kerden (1746)
Stalemate

Questions and formulas:
Question: How many victors where there in the War of 1730–1736 , first stage?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="War of 1730–1736 , first stage"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,A2:A10="War of 1730–1736 , first stage"),5))
Level: medium
Question: Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="Treaty of Constantinople (1590)"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,D2:D10="Treaty of Constantinople (1590)"),2))
Level: medium
Question: What is the name of the war where the Ottoman sultan was Selim I?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="Selim I"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E10,B2:B10="Selim I"),1))
Level: medium