Table:
0
A
B
C
D
E
F
G
H
I
1
school id
school
location
founded
affiliation
enrollment
nickname
primary conference
university
2
1
University of Delaware
Newark, DE
1743-01-01
Public
19067
Fightin' Blue Hens
Colonial Athletic Association ( D-I )
3
2
Lebanon Valley College
Annville, PA
1866-01-01
Private/Methodist
2100
Flying Dutchmen
MAC Commonwealth Conference ( D-III )
4
3
University of Rhode Island
Kingston, RI
1892-01-01
Public
19095
Rams
Atlantic 10 Conference ( D-I )
5
4
Rutgers University
New Brunswick, NJ
1766-01-01
Public
56868
Scarlet Knights
American Athletic Conference ( D-I )
6
5
Stony Brook University
Stony Brook, NY
1/1/1957
Public
23997
Seawolves
America East Conference ( D-I )

Questions and formulas:
Question: List all schools and their nicknames in the order of founded year.
Formula: SORTBY(CHOOSE({1,2},B1,G1),D1,1)
Formula2: SORTBY(CHOOSE({1,2},B2:B6,G2:G6),D2:D6,1)
Level: easy
Question: What are the different schools and their nicknames, ordered by their founding years?
Formula: SORTBY(CHOOSE({1,2},B1,G1),D1,1)
Formula2: SORTBY(CHOOSE({1,2},B2:B6,G2:G6),D2:D6,1)
Level: easy
Question: List all public schools and their locations.
Formula: CHOOSE({1,2},FILTER(B1,E1="Public"),FILTER(C1,E1="Public"))
Formula2: CHOOSE({1,2},FILTER(B2:B6,E2:E6="Public"),FILTER(C2:C6,E2:E6="Public"))
Level: medium
Question: What are the public schools and what are their locations?
Formula: CHOOSE({1,2},FILTER(B1,E1="Public"),FILTER(C1,E1="Public"))
Formula2: CHOOSE({1,2},FILTER(B2:B6,E2:E6="Public"),FILTER(C2:C6,E2:E6="Public"))
Level: medium
Question: When was the school with the largest enrollment founded?
Formula: LET(a,SORTBY(D1,F1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(D2:D6,F2:F6,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: Return the founded year for the school with the largest enrollment.
Formula: LET(a,SORTBY(D1,F1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(D2:D6,F2:F6,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: Return the average enrollment of universities founded before 1850.
Formula: AVERAGE(FILTER(F1,D1<1850))
Formula2: AVERAGE(FILTER(F2:F6,D2:D6<1850))
Level: easy
Question: Find the total student enrollment for different affiliation type schools.
Formula: SUMMARIZE(HSTACK(E1,B1),SUMX(F1))
Formula2: SUMMARIZE(HSTACK(E2:E6,B2:B6),SUMX(F2:F6))
Level: medium
Question: What are the total enrollments of universities of each affiliation type?
Formula: SUMMARIZE(HSTACK(I1,E1),SUMX(F1))
Formula2: SUMMARIZE(HSTACK(I2:I6,E2:E6),SUMX(F2:F6))
Level: medium
Question: Find the schools that were either founded after 1850 or public.
Formula: FILTER(B1,(D1>1850)+(E1="Public"))
Formula2: FILTER(B2:B6,(D2:D6>1850)+(E2:E6="Public"))
Level: easy
Question: What are the schools that were either founded before 1850 or are public?
Formula: FILTER(B1,(D1>1850)+(E1="Public"))
Formula2: FILTER(B2:B6,(D2:D6>1850)+(E2:E6="Public"))
Level: easy
Question: Find how many different affiliation types there are.
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E6))
Level: easy
Question: Count the number of different affiliation types.
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E6))
Level: easy
Question: Find the number of universities that have over a 20000 enrollment size for each affiliation type.
Formula: LET(query1,SUMMARIZE(E1,DCOUNTX(I1),SUMX(F1)),FILTER(query1,CHOOSECOLS(query1,3)>20000))
Formula2: LET(query1,SUMMARIZE(E2:E6,DCOUNTX(I2:I6),SUMX(F2:F6)),FILTER(query1,CHOOSECOLS(query1,3)>20000))
Level: hard
Question: What are the different affiliations, and what is the total enrollment for schools founded after 1850?
Formula: LET(query1,FILTER(A1:I1,Year(D1)>1850),SUMMARIZE(HSTACK(CHOOSECOLS(query1,5,2)),SUMX(CHOOSECOLS(query1,6))))
Formula2: LET(query1,FILTER(A2:I6,Year(D1)>1850),SUMMARIZE(HSTACK(CHOOSECOLS(query1,5,2)),SUMX(CHOOSECOLS(query1,6))))
Level: hard
Question: What is the maximum enrollment across all schools?
Formula: MAX(F1)
Formula2: MAX(F2:F6)
Level: easy
Question: Return the maximum enrollment across all schools.
Formula: MAX(F1)
Formula2: MAX(F2:F6)
Level: easy