Table:
0
A
B
C
D
E
1
member id
card number
name
hometown
level id
2
1
LE99
Jeremy Jarmon
Collierville, Tennessee
6
3
2
LT98
Myron Pryor
Louisville, Kentucky
6
4
3
RT91
Corey Peters
Louisville, Kentucky
6
5
4
RE95
Ventrell Jenkins
Columbia, South Carolina
6
6
5
OLB56
Braxton Kelley
LaGrange, Georgia
6
7
6
MLB4
Micah Johnson
Fort Campbell, Kentucky
4
8
7
SLB51
Johnny Williams
Jacksonville, Florida
6
9
8
RCB32
Trevard Lindley
Hiram, Georgia
6
10
9
LCB7
David Jones
Red Jacket, West Virginia
6
11
10
FS10
Matt Lentz
Simpsonville, South Carolina
2

Questions and formulas:
Question: What are the different membership levels?
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E11))
Level: easy
Question: Show card number, name, and hometown for all members in a descending order of level.
Formula: SORTBY(CHOOSE({1,2,3},B1,C1,D1),E1,-1)
Formula2: SORTBY(CHOOSE({1,2,3},B2:B11,C2:C11,D2:D11),E2:E11,-1)
Level: easy
Question: Show the membership level with most number of members.
Formula: TAKE(SORT(SUMMARIZE(E1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(E2:E11,SUMX(A2:A11)), 2, -1), 1)
Level: hard
Question: Show all level ids
Formula: UNIQUE(E1)
Formula2: UNIQUE(E2:E11)
Level: easy
Question: Card numbers, hometowns, level ids, member ids and names from the highest-leveled member to the lowest .
Formula: SORT(UNIQUE(HSTACK(B1,C1,D1,A1,E1)), 5, -1)
Formula2: SORT(UNIQUE(HSTACK(B2:B11,C2:C11,D2:D11,A2:A11,E2:E11)), 5, -1)
Level: medium
Question: Which level are most members in?
Formula: TAKE(SORT(SUMMARIZE(E1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(E2:E11,SUMX(A2:A11)), 2, -1), 1)
Level: hard
Question: Any level ids?
Formula: UNIQUE(E1)
Formula2: UNIQUE(E2:E11)
Level: easy
Question: Card numbers, names, hometowns and member ids for members by their levels from high to low.
Formula: SORT(UNIQUE(HSTACK(B1,C1,D1,A1,E1)), 5, -1)
Formula2: SORT(UNIQUE(HSTACK(B2:B11,C2:C11,D2:D11,A2:A11,E2:E11)), 5, -1)
Level: medium