Table:
0
A
B
C
D
E
1
Year
Income
Expenditure
Surplus(Deficit)
% GDP
2
2003
34.4
35.4
(1)
x
3
2004
37.5
37.5
0
0%
4
2005
40.8
41.3
(0.5)
(0.3%)
5
2006
48.0
45.8
2.3
1.3%
6
2007
49.3
50.9
(1.6)
(0.9%)
7
2008
43.0
55.7
(12.7)
(7%)
8
2009
35.3
60.0
(24.6)
(14.8%)
9
2010
36.2
55.0
(18.7)
(12.0%)
10
2011
39.3
64.2
(24.9)
(15.5%)

Questions and formulas:
Question: Which % GDP has an Expenditure larger than 50.9, and a Year larger than 2009, and an Income of 39.3?
Formula: LET(query1,LET(query1,FILTER(A1:E1,A1>2009),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,(CHOOSECOLS(query1,2)>50.9)*(CHOOSECOLS(query1,3)=39.3)))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,A2:A10>2009),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,(CHOOSECOLS(query1,2)>50.9)*(CHOOSECOLS(query1,3)=39.3)))
Level: hard
Question: Which Year has an Expenditure smaller than 41.3, and a % GDP of x, and an Income larger than 34.4?
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1="x"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,(CHOOSECOLS(query1,2)<41.3)*(CHOOSECOLS(query1,3)>34.4)))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,E2:E10="x"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,(CHOOSECOLS(query1,2)<41.3)*(CHOOSECOLS(query1,3)>34.4)))
Level: hard
Question: Which Surplus(Deficit) has an Expenditure larger than 45.8, and a Year smaller than 2011, and a % GDP of (0.9%)?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(A1<2011)*(E1="(0.9%)")),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)>45.8))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,(A2:A10<2011)*(E2:E10="(0.9%)")),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)>45.8))
Level: hard
Question: Which Year has an Expenditure of 55, and an Income smaller than 36.2?
Formula: LET(query1,SUMMARIZE(A1,SUMX(C1),SUMX(B1)),FILTER(query1,(CHOOSECOLS(query1,2)=55)*(CHOOSECOLS(query1,3)<36.2)))
Formula2: LET(query1,SUMMARIZE(A2:A10,SUMX(C2:C10),SUMX(B2:B10)),FILTER(query1,(CHOOSECOLS(query1,2)=55)*(CHOOSECOLS(query1,3)<36.2)))
Level: hard
Question: Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(A1<2011)*(D1="(24.6)")),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,(CHOOSECOLS(query1,2)>41.3)*(CHOOSECOLS(query1,3)<48)))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,(A2:A10<2011)*(D2:D10="(24.6)")),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,3)),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,(CHOOSECOLS(query1,2)>41.3)*(CHOOSECOLS(query1,3)<48)))
Level: hard