Table:
0
A
B
C
D
E
1
Affiliation
Life peers
Hereditary peers
Lords spiritual
Total
2
Labour
215
4
–
219
3
Conservative
168
49
–
217
4
Liberal Democrats
91
4
–
95
5
Democratic Unionist
2
–
–
2
6
Ulster Unionist
2
–
–
2
7
UKIP
1
1
–
2
8
Plaid Cymru
2
–
–
2
9
Green
1
–
–
1
10
s Crossbencher
152
31
–
183
11
Lords Spiritual
–
–
22
22
12
Non-affiliated and independent
26
–
–
26
13
Total
660
89
22
771

Questions and formulas:
Question: Which Hereditary peers have a Total of 1?
Formula: LET(query1,SUMMARIZE(C1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)=1))
Formula2: LET(query1,SUMMARIZE(C2:C13,SUMX(E2:E13)),FILTER(query1,CHOOSECOLS(query1,2)=1))
Level: hard
Question: Which Total has a Hereditary peer of –, and a Lords spiritual of –, and a Life peers of 2, and an Affiliation of plaid cymru?
Formula: SUM(FILTER(E1, (C1="–")*(D1="–")*(B1=2)*(A1="plaid cymru")))
Formula2: SUM(FILTER(E2:E13, (C2:C13="–")*(D2:D13="–")*(B2:B13=2)*(A2:A13="plaid cymru")))
Level: easy