Table:
0
A
B
C
D
E
1
Date
Epicenter
Magnitude
Fatalities
Name
2
January 17, 1895
Quchan
6.8
1,000
1895 Quchan earthquake
3
November 17, 1893
Quchan
6.6
18,000
1893 Quchan earthquake
4
June 7, 1755
Kashan
Unknown
40,000
1755 Kashan earthquake
5
November 18, 1727
Tabriz
Unknown
77,000
1727 Tabriz earthquake
6
August 21, 1042
Tabriz
7.6
40,000
1042 Tabriz earthquake
7
March 23, 893
Ardabil
Unknown
150,000
893 Ardabil earthquake
8
December 22, 856
Damghan
7.9
200,000
856 Damghan earthquake

Questions and formulas:
Question: What is the average number of deaths for earthquakes centered in Damghan?
Formula: AVERAGEIFS(D1,B1,"damghan")
Formula2: AVERAGEIFS(D2:D8,B2:B8,"damghan")
Level: easy