Table:
0
A
B
C
D
E
1
Candidate
Party
EU Party
1st count
29th count
2
Busuttil Simon Busuttil
PN
EPP
68,782
41,363 41,362
3
Casa David Casa
PN
EPP
6,539
41,362
4
Grech Louis Grech
PL
PES
27,753
40,529
5
Scicluna Edward Scicluna
PL
PES
24,574
39,250
6
Attard John Attard Montalto
PL
PES
12,880
30,129

Questions and formulas:
Question: Which party's candidate is Grech Louis Grech?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="grech louis grech"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6="grech louis grech"),2))
Level: medium
Question: Which eu party has a 29th count of 40,529?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1=40529),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6=40529),3))
Level: medium
Question: Which candidate's party is pl when the 29th count is 39,250?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="pl")*(E1=39250)),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,(B2:B6="pl")*(E2:E6=39250)),1))
Level: medium