Table:
0
A
B
C
D
E
F
1
Romanised name
Chinese name
age at appointment
Foreign nationality
Portfolio attachment
Govt salary
2
Chen Wei-on, Kenneth
陳維安
43
N/A
Education
HK$223,585
3
Hui Hiu-fai, Florence
許曉暉
34
N/A
Home Affairs
HK$223,585
4
Leung Fung-yee, Julia
梁鳳儀
48
British
Financial Services and the Treasury
HK$223,585
5
Leung, Gabriel Matthew
梁卓偉
35
Canadian
Food and Health
HK$208,680
6
Poon Kit, Kitty
潘潔
45
US
Environment
HK$208,680
7
Tam Chi-yuen, Raymond
譚志源
44
British
Constitutional and Mainland Affairs
HK$208,680
8
So Kam-leung, Gregory
蘇錦樑
49
Canadian
Commerce and Economic Development
HK$223,585
9
Yau Shing-mu
邱誠武
48
N/A
Transport and Housing
HK$ 208,680

Questions and formulas:
Question: What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="chen wei-on, kenneth"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,A2:A9="chen wei-on, kenneth"),6))
Level: medium
Question: What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀?
Formula: LET(query1,LET(query1,FILTER(A1:F1,B1="梁鳳儀"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)=48))
Formula2: LET(query1,LET(query1,FILTER(A2:F9,B2:B9="梁鳳儀"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)=48))
Level: hard
Question: What is the Romanised name of the Undersecretary with an education portfolio attachment?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,E1="education"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,E2:E9="education"),1))
Level: medium