Table:
0
A
B
C
D
E
1
Years
Displacement
Engine
Power
Torque
2
1999–2004
4.0L (242CID)
Power Tech I6
hp (kW)
lb·ft (N·m) @ 3000 rpm
3
1999–2004
4.7L (287CID)
PowerTech V8
hp (kW)
lb·ft (N·m) @ 3200 rpm
4
2002–2004
4.7L (287CID)
High Output PowerTech V8
hp (kW)
lb·ft (N·m)
5
1999–2001
3.1L Diesel
531 OHV Diesel I5
hp (kW)
lb·ft (N·m)
6
2002–2004
2.7L Diesel
OM647 Diesel I5
hp (kW)
lb·ft (N·m)

Questions and formulas:
Question: what is the years for the displacement 4.0l (242cid)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="4.0l (242cid)"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="4.0l (242cid)"),1))
Level: medium
Question: Which engine has a torgue of lb·ft (n·m)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="lb·ft (n·m)"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="lb·ft (n·m)"),3))
Level: medium