Table:
0
A
B
C
D
E
1
National team
Club
Season
Apps
Goals
2
Brazil
Flamengo
2000
1
0
3
Brazil
Flamengo
2001
0
0
4
Brazil
Internazionale
2001–2002
0
0
5
Brazil
Fiorentina
2001–2002
0
0
6
Brazil
Parma
2002–2003
5
3
7
Brazil
Parma
2003–2004
1
0
8
Brazil
Internazionale
2003–2004
6
7
9
Brazil
Internazionale
2004–2005
12
7
10
Brazil
Internazionale
2005–2006
11
8
11
Brazil
Internazionale
2006–2007
1
0
12
Brazil
Internazionale
2007–2008
0
0
13
Brazil
São Paulo
2008
4
0
14
Brazil
Internazionale
2008–2009
3
2
15
Brazil
Flamengo
2009
3
0
16
Brazil
Flamengo
2010
1
0
17
Total
Total
Total
48
27

Questions and formulas:
Question: When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?
Formula: SUM(FILTER(D1, (B1="flamengo")*(C1=2009)*(E1>0)))
Formula2: SUM(FILTER(D2:D17, (B2:B17="flamengo")*(C2:C17=2009)*(E2:E17>0)))
Level: easy
Question: In the 2010 season what club has 0 goals and more than 0 Apps?
Formula: LET(query1,LET(query1,FILTER(A1:E1,C1=2010),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,(CHOOSECOLS(query1,2)=0)*(CHOOSECOLS(query1,3)>0)))
Formula2: LET(query1,LET(query1,FILTER(A2:E17,C2:C17=2010),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,5)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,(CHOOSECOLS(query1,2)=0)*(CHOOSECOLS(query1,3)>0)))
Level: hard