Table:
0
A
B
C
D
E
1
Pos.
Nationality
Previous team
NBA years [a ]
Career with the franchise [b ]
2
F
United States
Washington Wizards
2
2006
3
G
Bosnia and Herzegovina [d ]
Golden State Warriors
2
— [c ]
4
C
Slovenia
Indiana Pacers
3
2004 – 2007
5
G
United States
New Orleans Hornets
1
— [c ]
6
C
Montenegro [e ]
Los Angeles Clippers
3
— [c ]
7
G/F
United States
Portland Trail Blazers
1
— [c ]
8
F
United States
Chicago Bulls
4
— [c ]
9
G
United States
Seattle SuperSonics
1
— [c ]
10
F
United States
Boston Celtics
1
— [c ]
11
F
United States
Cleveland Cavaliers
1
2004–2005
12
C
Georgia
Orlando Magic
1
— [c ]
13
G/F
Serbia [f ]
Utah Jazz
1
— [c ]
14
F/C
United States
Los Angeles Lakers
2
2004–2005
15
G
United States
New Jersey Nets
2
2004–2005
16
F
United States
Memphis Grizzlies
1
2004–2005
17
G
United States
Denver Nuggets
3
— [c ]
18
F
United States
Sacramento Kings
3
2004 – 2011
19
F/C
United States
Phoenix Suns
6
2004–2005
20
F/C
United States
Miami Heat
3
— [c ]

Questions and formulas:
Question: What is the previous team of the United States player who had 2 NBA years and played the F position?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(B1="united states")*(A1="f")),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=2))
Formula2: LET(query1,LET(query1,FILTER(A2:E20,(B2:B20="united states")*(A2:A20="f")),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=2))
Level: hard