Table:
0
A
B
C
D
E
1
Date
Epicenter
Magnitude
Intensity
Casualties
2
May 1716
Algiers Province
Unknown
IX
20,000 dead, thousands injured
3
March 2, 1825
Blida Province
Unknown
Unknown
7,000 dead, thousands injured
4
November 16, 1869
Biskra Province
Unknown
Unknown
40 dead, dozens injured
5
August 6, 1947
Annaba Province
5.3
Unknown
3 dead, hundreds injured
6
September 9, 1954
Chlef Province
6.8
Unknown
1,250 dead, 3,000 injured
7
January 1, 1965
M'Sila Province
5.5
Unknown
4 dead, 350 injured
8
October 10, 1980
Chlef Province
7.7
Unknown
5,000 dead, 9,000 injured
9
October 27, 1985
Annaba Province
5.9
Unknown
6 dead, dozens injured
10
October 29, 1989
Tipaza Province
5.9 and 5.6
VIII
30 dead, 245 injured
11
May 21, 2003
Boumerdès Province
6.8
Unknown
2,266 dead, 10,261 injured
12
May 27, 2003
Algiers Province
5.8
Unknown
9 dead, 180 injured
13
May 14, 2010
Bouïra Province
5.1
Unknown
2 dead, 43 injured

Questions and formulas:
Question: How many casualties were in the earthquake with an unknown intensity and an epicenter in the bouïra province?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="unknown")*(B1="bouïra province")),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(D2:D13="unknown")*(B2:B13="bouïra province")),5))
Level: medium
Question: What is the magnitude of the earthquake with an epicenter in biskra province?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="biskra province"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,B2:B13="biskra province"),3))
Level: medium
Question: What is the epicenter of the earthquake on March 2, 1825 with an unknown intensity?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="unknown")*(A1="march 2, 1825")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,(D2:D13="unknown")*(A2:A13="march 2, 1825")),2))
Level: medium
Question: What is the epicenter on January 1, 1965?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="january 1, 1965"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13="january 1, 1965"),2))
Level: medium