Table:
0
A
B
C
D
E
F
G
H
1
Ethnicity
Islam
Christianity
Judaism
Buddhism
Other
Atheism
n/a
2
TOTALS
70.20%
26.32%
0.03%
0.09%
0.02%
2.82%
0.51%
3
Kazakh
98.34%
0.39%
0.02%
0.01%
0.02%
0.98%
0.26%
4
Russian
1.43%
91.64%
0.04%
0.02%
0.03%
6.09%
0.75%
5
Uzbek
99.05%
0.39%
0.01%
0.01%
0.02%
0.37%
0.16%
6
Ukrainian
0.94%
90.74%
0.03%
0.01%
0.02%
7.31%
0.94%
7
Uyghur
98.35%
0.51%
0.02%
0.01%
0.03%
0.61%
0.47%
8
Tatar
79.57%
10.24%
0.02%
0.03%
0.06%
8.11%
1.97%
9
German
1.58%
81.59%
0.05%
0.04%
0.11%
13.96%
2.68%
10
Korean
5.24%
49.35%
0.21%
11.40%
0.14%
28.51%
5.16%
11
Turkish
99.13%
0.30%
0.01%
0.01%
0.02%
0.33%
0.21%
12
Azeri
94.81%
2.51%
0.02%
0.02%
0.03%
1.86%
0.76%
13
Belorussian
0.79%
90.16%
0.04%
0.01%
0.03%
7.82%
1.15%
14
Dungan
98.93%
0.37%
0.01%
0.03%
0.04%
0.34%
0.28%
15
Kurdish
98.28%
0.53%
0.03%
0.02%
0.02%
0.74%
0.38%
16
Tajik
97.78%
0.91%
0.01%
0.02%
0.08%
0.85%
0.35%
17
Polish
0.69%
90.07%
0.04%
0.01%
0.13%
7.30%
1.76%
18
Chechen
93.69%
2.99%
0.02%
0.01%
0.05%
2.08%
1.16%
19
Kyrgyz
96.67%
0.89%
0.03%
0.03%
0.02%
1.51%
0.86%

Questions and formulas:
Question: When tajik is the ethnicity  what is islam?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,A1="Tajik"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H19,A2:A19="Tajik"),2))
Level: medium