Table:
0
A
B
C
D
E
F
1
Settlement
Cyrillic Name
Type
Population (2011)
Largest ethnic group (2002)
Dominant religion (2002)
2
Stara Pazova
Стара Пазова
town
18602
Serbs
Orthodox Christianity
3
Belegiš
Белегиш
village
2973
Serbs
Orthodox Christianity
4
Golubinci
Голубинци
village
4721
Serbs
Orthodox Christianity
5
Krnješevci
Крњешевци
village
845
Serbs
Orthodox Christianity
6
Nova Pazova
Нова Пазова
village
17105
Serbs
Orthodox Christianity
7
Novi Banovci
Нови Бановци
village
9443
Serbs
Orthodox Christianity
8
Stari Banovci
Стари Бановци
village
5954
Serbs
Orthodox Christianity
9
Surduk
Сурдук
village
1397
Serbs
Orthodox Christianity

Questions and formulas:
Question: What is the name of the settlement that had a population of 9443 in 2011?
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=9443))
Formula2: LET(query1,SUMMARIZE(A2:A9,SUMX(D2:D9)),FILTER(query1,CHOOSECOLS(query1,2)=9443))
Level: hard
Question: How many different types of settlements does Nova Pazova fall into?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Nova Pazova"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,A2:A9="Nova Pazova"),3))
Level: medium
Question: What ethnic group had the largest population in сурдук in 2002?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Сурдук"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="Сурдук"),5))
Level: medium
Question: What ethnic group had the largest population in сурдук in 2002?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Сурдук"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="Сурдук"),5))
Level: medium
Question: How many dominant religions were in the settlement that had a population of 17105?
Formula: ROWS(UNIQUE(FILTER(F1, D1=17105)))
Formula2: ROWS(UNIQUE(FILTER(F2:F9, D2:D9=17105)))
Level: medium
Question: What was the population of сурдук in 2011?
Formula: SUMIFS(D1,B1,"Сурдук")
Formula2: SUMIFS(D2:D9,B2:B9,"Сурдук")
Level: easy