Table:
0
A
B
C
D
E
1
Israeli deaths
Other deaths
Total deaths
Israeli and/or foreigner wounded
Total casualties
2
0
0
0
3
3
3
1
0
1
1
2
4
0
0
0
1
1
5
1
0
1
0
1
6
1
0
1
0
0
7
0
0
0
0
0
8
1
0
1
3
4
9
0
2
2
1
3
10
0
0
0
2
2
11
1
0
1
2
3
12
0
Several policeman
Unknown
Unknown
Unknown
13
4
25
29
242
271
14
0
1
1
0
0
15
0
0
0
20
20
16
1
4
5
5+
10+
17
0
0
0
4
4

Questions and formulas:
Question: What is the total number of deaths of the attack with 0 Israelis or foreigners wounded, 0 other deaths, and a total casualty of 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1=0)*(B1=0)*(E1=1)),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,(D2:D17=0)*(B2:B17=0)*(E2:E17=1)),3))
Level: medium
Question: How many Israelis and or foreigners were wounded in the attack with more than 1 Israeli death?
Formula: LET(query1,SUMMARIZE(D1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>1))
Formula2: LET(query1,SUMMARIZE(D2:D17,SUMX(A2:A17)),FILTER(query1,CHOOSECOLS(query1,2)>1))
Level: hard
Question: How many other deaths were in the attack with 242 Israelis and/or foreigners wounded?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1=242),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E17,D2:D17=242),2))
Level: medium
Question: What is the total number of Israeli deaths in the attack with 0 total casulaties and 0 total deaths?
Formula: SUM(FILTER(A1, (E1=0)*(C1=0)))
Formula2: SUM(FILTER(A2:A17, (E2:E17=0)*(C2:C17=0)))
Level: easy