Table:
0
A
B
C
D
E
1
Class
Introduced
Number in class
Number in service
Power output (kW)
2
DBR
1980
10
7
709
3
DC
1978–1981
85
69
1230
4
DFT
1979–1981
30
29
1800
5
DH
1979
6
6
672
6
DL
2010–
48
40
2700
7
DSC
1959–1967
70
44
315
8
DSG
1981
24
24
700
9
DSJ
1982
5
5
350
10
DX
1972–1975
49
46
2240
11
DXR
1993
2
2
2420
12
EF
1988–1989
22
17
3000
13
TR
1936–1978
90
21
138

Questions and formulas:
Question: What is the power output for class 5?
Formula: SUM(FILTER(E1, C1=5))
Formula2: SUM(FILTER(E2:E13, C2:C13=5))
Level: easy
Question: Which class has a power output larger than 700 and a class of 48?
Formula: LET(query1,SUMMARIZE(A1,SUMX(E1),SUMX(C1)),FILTER(query1,(CHOOSECOLS(query1,2)>700)*(CHOOSECOLS(query1,3)=48)))
Formula2: LET(query1,SUMMARIZE(A2:A13,SUMX(E2:E13),SUMX(C2:C13)),FILTER(query1,(CHOOSECOLS(query1,2)>700)*(CHOOSECOLS(query1,3)=48)))
Level: hard