Table:
0
A
B
C
D
E
F
G
1
member id
name
membership card
age
time of purchase
level of membership
address
2
1
Ashby, Lazale
Black
29
18
5
Hartford
3
2
Breton, Robert
White
67
41
4
Waterbury
4
3
Campbell, Jessie
Black
34
20
6
Hartford
5
4
Cobb, Sedrick
Black
51
27
2
Waterbury
6
5
Hayes, Steven
White
50
44
3
Cheshire
7
6
Komisarjevsky, Joshua
White
33
26
2
Cheshire
8
7
Peeler, Russell
Black
42
26
6
Bridgeport
9
8
Reynolds, Richard
Black
45
24
1
Waterbury
10
9
Rizzo, Todd
White
35
18
4
Waterbury
11
10
Webb, Daniel
Black
51
27
22
Hartford

Questions and formulas:
Question: How many members have the black membership card?
Formula: SUMIFS(A1,C1,"black")
Formula2: SUMIFS(A2:A11,C2:C11,"black")
Level: easy
Question: Find the number of members living in each address.
Formula: SUMMARIZE(G1,SUMX(A1))
Formula2: SUMMARIZE(G2:G11,SUMX(A2:A11))
Level: easy
Question: Give me the names of members whose address is in Harford or Waterbury.
Formula: FILTER(B1,(G1="Harford")+(G1="Waterbury"))
Formula2: FILTER(B2:B11,(G2:G11="Harford")+(G2:G11="Waterbury"))
Level: easy
Question: Find the ids and names of members who are under age 30 or with black membership card.
Formula: LET(a,HSTACK(A1,B1),b,A1,c,CHOOSECOLS(LET(query1,LET(query1,FILTER(A1:G1,C1="black"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=30)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(A2:A11,B2:B11),b,A2:A11,c,CHOOSECOLS(LET(query1,LET(query1,FILTER(A2:G11,C2:C11="black"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=30)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: Find the purchase time, age and address of each member, and show the results in the order of purchase time.
Formula: SORTBY(CHOOSE({1,2,3},E1,D1,G1),E1,1)
Formula2: SORTBY(CHOOSE({1,2,3},E2:E11,D2:D11,G2:G11),E2:E11,1)
Level: easy
Question: Which membership card has more than 5 members?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>5))
Formula2: LET(query1,SUMMARIZE(C2:C11,SUMX(A2:A11)),FILTER(query1,CHOOSECOLS(query1,3)>5))
Level: hard
Question: How many members are not living in Hartford?
Formula: LET(query1,FILTER(A1:G1,G1<>"hartford"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,1))))
Formula2: LET(query1,FILTER(A2:G11,G2:G11<>"hartford"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,1))))
Level: hard
Question: How many members are blackcard members?
Formula: SUMIFS(A1,C1,"black")
Formula2: SUMIFS(A2:A11,C2:C11,"black")
Level: easy
Question: Amount of members per address
Formula: SUMMARIZE(G1,SUMX(A1))
Formula2: SUMMARIZE(G2:G11,SUMX(A2:A11))
Level: easy
Question: Waterbury members' names and IDs
Formula: LET(query1,FILTER(A1:G1,G1="waterbury"),UNIQUE(CHOOSECOLS(query1,2,1)))
Formula2: LET(query1,FILTER(A2:G11,G2:G11="waterbury"),UNIQUE(CHOOSECOLS(query1,2,1)))
Level: hard
Question: the ids and names of black card members aged 30.
Formula: LET(query1,LET(query1,FILTER(A1:G1,C1="black"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,1,2)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,3)=30))
Formula2: LET(query1,LET(query1,FILTER(A2:G11,C2:C11="black"),SUMMARIZE(HSTACK(CHOOSECOLS(query1,1,2)),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,3)=30))
Level: hard
Question: cards with more than 5 members 
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>5))
Formula2: LET(query1,SUMMARIZE(C2:C11,SUMX(A2:A11)),FILTER(query1,CHOOSECOLS(query1,3)>5))
Level: hard
Question: the number of members who are not in hartford
Formula: LET(query1,FILTER(A1:G1,G1<>"hartford"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,1))))
Formula2: LET(query1,FILTER(A2:G11,G2:G11<>"hartford"),SUMMARIZE(CHOOSECOLS(query1,7),SUMX(CHOOSECOLS(query1,1))))
Level: hard
Question: the number of members having black membership cards
Formula: SUMIFS(A1,C1,"black")
Formula2: SUMIFS(A2:A11,C2:C11,"black")
Level: easy
Question: the number of members for each address.
Formula: SUMMARIZE(G1,SUMX(A1))
Formula2: SUMMARIZE(G2:G11,SUMX(A2:A11))
Level: easy
Question: the names and ids of members in waterbury
Formula: LET(query1,FILTER(A1:G1,G1="waterbury"),UNIQUE(CHOOSECOLS(query1,2,1)))
Formula2: LET(query1,FILTER(A2:G11,G2:G11="waterbury"),UNIQUE(CHOOSECOLS(query1,2,1)))
Level: hard
Question: the card with over 5 members
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>5))
Formula2: LET(query1,SUMMARIZE(C2:C11,SUMX(A2:A11)),FILTER(query1,CHOOSECOLS(query1,3)>5))
Level: hard