Table:
0
A
B
C
D
E
F
G
1
Event
Date
DP / DA
NP / NNP
COPE
ACDP
Others
2
1994 election
27 April 1994
3
23
—
1
1
3
1999 election
2 June 1999
5
17
—
1
1
4
2003 floor-crossing
4 April 2003
7
10
—
2
1
5
2004 election
14 April 2004
12
5
—
2
1
6
2005 floor-crossing
15 September 2005
13
—
—
2
2
7
2007 floor-crossing
15 September 2007
11
—
—
2
1
8
2009 election
22 April 2009
22
—
3
1
0

Questions and formulas:
Question: Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5
Formula: LET(query1,SUMMARIZE(D1,SUMX(F1),SUMX(G1),SUMX(C1)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)=1)*(CHOOSECOLS(query1,4)=5)))
Formula2: LET(query1,SUMMARIZE(D2:D8,SUMX(F2:F8),SUMX(G2:G8),SUMX(C2:C8)),FILTER(query1,(CHOOSECOLS(query1,2)=1)*(CHOOSECOLS(query1,3)=1)*(CHOOSECOLS(query1,4)=5)))
Level: hard