Table:
0
A
B
C
D
E
1
document code
document structure code
document type code
access count
document name
2
217
8
Book
1864
Learning English
3
621
1
Paper
8208
Research about Art history
4
958
8
Book
3769
Learning Database
5
961
5
Advertisement
6661
Summer Sails
6
989
9
Book
2910
Learning Japanese
7
930
9
CV
6345
David CV
8
928
8
Book
2045
How to cook pasta
9
510
6
Paper
3479
Humanity: a fact
10
706
9
Advertisement
8623
Winter Sails
11
465
9
CV
5924
John CV
12
713
8
CV
2294
Joe CV
13
566
5
Advertisement
3289
Spring Sails
14
349
9
Book
1219
Life about Claude Monet
15
675
1
Advertisement
7509
Fall Sails
16
714
6
Paper
9948
Relationships between History and Arts

Questions and formulas:
Question: What are the names of all the documents, as well as the access counts of each, ordered alphabetically?
Formula: SORTBY(CHOOSE({1,2},E1,D1),E1,1)
Formula2: SORTBY(CHOOSE({1,2},E2:E16,D2:D16),E2:E16,1)
Level: easy
Question: What is the average access count of documents?
Formula: AVERAGE(D1)
Formula2: AVERAGE(D2:D16)
Level: easy
Question: Find the average access count across all documents?
Formula: AVERAGE(D1)
Formula2: AVERAGE(D2:D16)
Level: easy
Question: Return the type code of the document named "David CV".
Formula: FILTER(C1,E1="David CV")
Formula2: FILTER(C2:C16,E2:E16="David CV")
Level: easy
Question: What document types do have more than 10000 total access number.
Formula: LET(query1,SUMMARIZE(C1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)>10000))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(D2:D16)),FILTER(query1,CHOOSECOLS(query1,2)>10000))
Level: hard
Question: What document types have more than 2 corresponding documents?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Level: hard
Question: Give the codes of document types that have more than 2 corresponding documents.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Level: hard
Question: Show me the document type codes which have more than two documents.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Level: hard
Question: Show me the type code with more than 2 documents attached.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Level: hard
Question: What is the document type code of david cv?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="david cv"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E16,E2:E16="david cv"),3))
Level: medium
Question: Which document types have an access counts of over 10000?
Formula: LET(query1,SUMMARIZE(C1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)>10000))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(D2:D16)),FILTER(query1,CHOOSECOLS(query1,2)>10000))
Level: hard
Question: Document type codes shared by more than 2 documents.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Level: hard
Question: The type code with more than 2 documents.
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,2)>2))
Level: hard
Question: What is the document type code for david cv?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="david cv"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E16,E2:E16="david cv"),3))
Level: medium
Question: Document types having access counts more than 10000.
Formula: LET(query1,SUMMARIZE(C1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)>10000))
Formula2: LET(query1,SUMMARIZE(C2:C16,SUMX(D2:D16)),FILTER(query1,CHOOSECOLS(query1,2)>10000))
Level: hard