Table:
0
A
B
C
D
E
F
1
Class
Number(s)
DRG Number(s)
Quantity
Year(s) of Manufacture
Type
2
LE
I–V
99 071–99 075
5
1885–1900
C n2t
3
Pts 3/4
1101–1103
99 131–99 132
3
1906
1′C h2t
4
Pts 3/4
1104
99 133
1
1923
1′C h2t
5
Gts 4/4
991
99 151
1
1909
D n2t
6
Gts 2x3/3
996
99 201
1
1917
C′C h4vt

Questions and formulas:
Question: What is the average quantity that has 1104 as the number(s)?
Formula: AVERAGE(FILTER(D1, B1=1104))
Formula2: AVERAGE(FILTER(D2:D6, B2:B6=1104))
Level: easy
Question: What class has 99 201 as the DRG Number(s)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="99 201"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,C2:C6="99 201"),1))
Level: medium
Question: What type has 5 as the quantity?
Formula: LET(query1,SUMMARIZE(F1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=5))
Formula2: LET(query1,SUMMARIZE(F2:F6,SUMX(D2:D6)),FILTER(query1,CHOOSECOLS(query1,2)=5))
Level: hard