Table:
0
A
B
C
D
E
1
Model
Years
Engine code
Power
Torque
2
sDrive18i
2010-
N46B20
PS (kW; hp)@6400
N·m (lb·ft)@3600
3
xDrive18i
2010-
N46B20
PS (kW; hp)@6000
N·m (lb·ft)@4250
4
sDrive20i xDrive20i
2011-
N20B20
PS (kW; hp)@5000-6250
N·m (lb·ft)@1250-4500
5
xDrive25i
2010-2011
N52B30
PS (kW; hp)@6100
N·m (lb·ft)@2500
6
xDrive28i
2009-2011
N52B30
PS (kW; hp)@6600
N·m (lb·ft)@2600-3000
7
xDrive28i sDrive28i
2011 2012-
N20B20
PS (kW; hp)@5000-6500
N·m (lb·ft)@1250-4800
8
xDrive35i
2012-
N55B30
hp (kW; PS)@5800
N·m (lb·ft)@1300-5000

Questions and formulas:
Question: What is the engine code for the Xdrive25i?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="xdrive25i"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="xdrive25i"),3))
Level: medium
Question: What is the torque on the model with power of hp (kw; ps)@5800?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="hp (kw; ps)@5800"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,D2:D8="hp (kw; ps)@5800"),5))
Level: medium
Question: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(C1="n46b20")*(D1="ps (kw; hp)@6400")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,(C2:C8="n46b20")*(D2:D8="ps (kw; hp)@6400")),5))
Level: medium
Question: What is the power for the model xdrive28i sdrive28i?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="xdrive28i sdrive28i"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="xdrive28i sdrive28i"),4))
Level: medium
Question: What is the model that was made in the years 2011 2012-?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="2011 2012-"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,B2:B8="2011 2012-"),1))
Level: medium
Question: What is the engine code for the model  xdrive35i?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="xdrive35i"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="xdrive35i"),3))
Level: medium