Table:
0
A
B
C
D
E
F
1
Settlement
Cyrillic Name
Type
Population (2011)
Largest ethnic group (2002)
Dominant religion (2002)
2
Pećinci
Пећинци
village
2581
Serbs
Orthodox Christianity
3
Ašanja
Ашања
village
1365
Serbs
Orthodox Christianity
4
Brestač
Брестач
village
934
Serbs
Orthodox Christianity
5
Deč
Деч
village
1491
Serbs
Orthodox Christianity
6
Donji Tovarnik
Доњи Товарник
village
973
Serbs
Orthodox Christianity
7
Karlovčić
Карловчић
village
1078
Serbs
Orthodox Christianity
8
Kupinovo
Купиново
village
1866
Serbs
Orthodox Christianity
9
Obrež
Обреж
village
1308
Serbs
Orthodox Christianity
10
Ogar
Огар
village
1040
Serbs
Orthodox Christianity
11
Popinci
Попинци
village
1166
Serbs
Orthodox Christianity
12
Prhovo
Прхово
village
784
Serbs
Orthodox Christianity
13
Sibač
Сибач
village
468
Serbs
Orthodox Christianity
14
Sremski Mihaljevci
Сремски Михаљевци
village
769
Serbs
Orthodox Christianity
15
Subotište
Суботиште
village
844
Serbs
Orthodox Christianity

Questions and formulas:
Question: What is the type when the settlement is subotište?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Subotište"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F15,A2:A15="Subotište"),3))
Level: medium
Question: how many times is the cyrillic name сибач?
Formula: ROWS(UNIQUE(FILTER(F1, B1="Сибач")))
Formula2: ROWS(UNIQUE(FILTER(F2:F15, B2:B15="Сибач")))
Level: medium
Question: What is the largest ethnic group (2002) when cyrillic name is брестач?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Брестач"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F15,B2:B15="Брестач"),5))
Level: medium
Question: How many times is the settlement karlovčić?
Formula: ROWS(UNIQUE(FILTER(F1, A1="Karlovčić")))
Formula2: ROWS(UNIQUE(FILTER(F2:F15, A2:A15="Karlovčić")))
Level: medium
Question: What is the cyrillic name when the settlement is ašanja?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Ašanja"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F15,A2:A15="Ašanja"),2))
Level: medium