Table:
0
A
B
C
D
E
1
Year
US Cham. Rank
US Cham. Spending
Next Highest Spender
Next Highest Amount
2
2012
1
$136,300,000
National Assn of Realtors
$41,464,580
3
2011
1
$66,370,000
General Electric
$26,340,000
4
2010
1
$157,187,500
PG&E Corp
$45,510,000
5
2009
1
$144,606,000
Exxon Mobil
$27,430,000
6
2008
1
$91,955,000
Exxon Mobil
$29,000,000
7
2007
1
$53,082,500
Pharmaceutical Rsrch & Mfrs of America
$22,733,400
8
2006
1
$72,995,000
AT&T Inc
$27,445,497
9
2005
1
$39,805,000
AARP
$36,302,064
10
2004
1
$53,380,000
American Medical Assn
$18,820,000
11
2003
1
$34,602,640
AARP
$20,880,000
12
2002
1
$41,560,000
Philip Morris
$15,200,000

Questions and formulas:
Question: Which Year is the highest one that has a Next Highest Spender of aarp, and a US Cham Spending of $39,805,000, and a US Cham Rank larger than 1?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(D1="aarp")*(C1="$39,805,000")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>1))
Formula2: LET(query1,LET(query1,FILTER(A2:E12,(D2:D12="aarp")*(C2:C12="$39,805,000")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>1))
Level: hard
Question: Which US Cham Rank is the lowest one that has a Next Highest Spender of national assn of realtors, and a Year smaller than 2012?
Formula: SUM(FILTER(B1, (D1="national assn of realtors")*(A1<2012)))
Formula2: SUM(FILTER(B2:B12, (D2:D12="national assn of realtors")*(A2:A12<2012)))
Level: easy
Question: Which Year is the lowest one that has a US Cham Rank smaller than 1?
Formula: LET(query1,SUMMARIZE(A1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)<1))
Formula2: LET(query1,SUMMARIZE(A2:A12,SUMX(B2:B12)),FILTER(query1,CHOOSECOLS(query1,2)<1))
Level: hard