Table:
0
A
B
C
D
E
1
Location
Aircraft
Tail number
Aircraft damage
Fatalities
2
Mogadishu
Viscount 700
6O-AAJ
W/O
5/30
3
Bosaso
Douglas C-47A
6O-SAC
W/O
0/11
4
Balad
F-27-600RF
6O-SAY
W/O
50/50
5
Nairobi
Boeing 707-320B
6O-SBT
W/O
0/70
6
Hargeisa
F-27-600RF
6O-SAZ
W/O
30/30

Questions and formulas:
Question: What was the aircraft damage for the Boeing 707-320B?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="boeing 707-320b"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="boeing 707-320b"),4))
Level: medium
Question: What was the number of fatalities for the Viscount 700?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="viscount 700"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,B2:B6="viscount 700"),5))
Level: medium
Question: What was the aircraft damage for the accident that had fatalities of 30/30?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="30/30"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="30/30"),4))
Level: medium
Question: What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(B1="f-27-600rf")*(C1="6o-saz")),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,(B2:B6="f-27-600rf")*(C2:C6="6o-saz")),1))
Level: medium
Question: What was the tail number of the aircraft that had 5/30 fatalities?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="5/30"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="5/30"),3))
Level: medium
Question: What was the location of the accident that led to 50/50 fatalities?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="50/50"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="50/50"),1))
Level: medium