Table:
0
A
B
C
D
E
1
name
age
city
gender
job
2
Alice
25
new york city
female
student
3
Bob
35
salt lake city
male
engineer
4
Zach
45
austin
male
doctor
5
Dan
26
chicago
female
student

Questions and formulas:
Question: How many females does this network has?
Formula: ROWS(FILTER(A1:E1, D1="female"))
Formula2: ROWS(FILTER(A2:E5, D2:D5="female"))
Level: easy
Question: How many females are in the network?
Formula: ROWS(FILTER(A1:E1, D1="female"))
Formula2: ROWS(FILTER(A2:E5, D2:D5="female"))
Level: easy
Question: What is the average age for all person?
Formula: AVERAGE(B1)
Formula2: AVERAGE(B2:B5)
Level: easy
Question: What is the average age for all people in the table?
Formula: AVERAGE(B1)
Formula2: AVERAGE(B2:B5)
Level: easy
Question: How many different cities are they from?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C5))
Level: easy
Question: How many different cities do people originate from?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C5))
Level: easy
Question: How many type of jobs do they have?
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E5))
Level: easy
Question: How many different jobs are listed?
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E5))
Level: easy
Question: What is the name of the person who is the oldest?
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(B1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A5,SUMX(B2:B5)), 2, -1), 1)
Level: hard
Question: What is the name of the oldest student?
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,E1="student"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E5,E2:E5="student"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, -1), 1)
Level: hard
Question: What is the name of the youngest male?
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,D1="male"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, 1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E5,D2:D5="male"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, 1), 1)
Level: hard
Question: How old is the doctor named Zach?
Formula: FILTER(B1,(E1="doctor")*(A1="Zach"))
Formula2: FILTER(B2:B5,(E2:E5="doctor")*(A2:A5="Zach"))
Level: easy
Question: What is the age of the doctor named Zach?
Formula: FILTER(B1,(E1="doctor")*(A1="Zach"))
Formula2: FILTER(B2:B5,(E2:E5="doctor")*(A2:A5="Zach"))
Level: easy
Question: What is the name of the person whose age is below 30?
Formula: FILTER(A1,B1<30)
Formula2: FILTER(A2:A5,B2:B5<30)
Level: easy
Question: How many people whose age is greater 30 and job is engineer?
Formula: ROWS(FILTER(A1,(B1>30)*(E1="engineer")))
Formula2: ROWS(FILTER(A2:A5,(B2:B5>30)*(E2:E5="engineer")))
Level: easy
Question: HOw many engineers are older than 30?
Formula: ROWS(FILTER(A1,(B1>30)*(E1="engineer")))
Formula2: ROWS(FILTER(A2:A5,(B2:B5>30)*(E2:E5="engineer")))
Level: easy
Question: What is the average age for each gender?
Formula: SUMMARIZE(D1,AVERAGEX(B1))
Formula2: SUMMARIZE(D2:D5,AVERAGEX(B2:B5))
Level: easy
Question: What is average age for different job title?
Formula: SUMMARIZE(HSTACK(E1,A1),AVERAGEX(B1))
Formula2: SUMMARIZE(HSTACK(E2:E5,A2:A5),AVERAGEX(B2:B5))
Level: medium
Question: What is average age of male for different job title?
Formula: LET(query1,FILTER(A1:E1,D1="male"),SUMMARIZE(CHOOSECOLS(query1,5),AVERAGEX(CHOOSECOLS(query1,2))))
Formula2: LET(query1,FILTER(A2:E5,D2:D5="male"),SUMMARIZE(CHOOSECOLS(query1,5),AVERAGEX(CHOOSECOLS(query1,2))))
Level: hard
Question: What is the average age for a male in each job?
Formula: LET(query1,FILTER(A1:E1,D1="male"),SUMMARIZE(CHOOSECOLS(query1,5),AVERAGEX(CHOOSECOLS(query1,2))))
Formula2: LET(query1,FILTER(A2:E5,D2:D5="male"),SUMMARIZE(CHOOSECOLS(query1,5),AVERAGEX(CHOOSECOLS(query1,2))))
Level: hard
Question: list the name, job title of all people ordered by their names.
Formula: SORTBY(CHOOSE({1,2},A1,E1),A1,1)
Formula2: SORTBY(CHOOSE({1,2},A2:A5,E2:E5),A2:A5,1)
Level: easy
Question: What are the names and job titles of every person ordered alphabetically by name?
Formula: SORTBY(CHOOSE({1,2},A1,E1),A1,1)
Formula2: SORTBY(CHOOSE({1,2},A2:A5,E2:E5),A2:A5,1)
Level: easy
Question: Find the names of all person sorted in the descending order using age.
Formula: SORTBY(A1,B1,-1)
Formula2: SORTBY(A2:A5,B2:B5,-1)
Level: easy
Question: What are the names of everybody sorted by age in descending order?
Formula: SORTBY(A1,B1,-1)
Formula2: SORTBY(A2:A5,B2:B5,-1)
Level: easy
Question: Find the name and age of all males in order of their age.
Formula: SORTBY(FILTER(A1,D1="male"),FILTER(B1,D1="male"),1)
Formula2: SORTBY(FILTER(A2:A5,D2:D5="male"),FILTER(B2:B5,D2:D5="male"),1)
Level: medium
Question: What is the name and age of every male? Order the results by age.
Formula: SORTBY(FILTER(A1,D1="male"),FILTER(B1,D1="male"),1)
Formula2: SORTBY(FILTER(A2:A5,D2:D5="male"),FILTER(B2:B5,D2:D5="male"),1)
Level: medium
Question: How many women are there?
Formula: ROWS(FILTER(A1:E1, D1="female"))
Formula2: ROWS(FILTER(A2:E5, D2:D5="female"))
Level: easy
Question: Total number of women
Formula: ROWS(FILTER(A1:E1, D1="female"))
Formula2: ROWS(FILTER(A2:E5, D2:D5="female"))
Level: easy
Question: Mean age
Formula: AVERAGE(B1)
Formula2: AVERAGE(B2:B5)
Level: easy
Question: Average age
Formula: AVERAGE(B1)
Formula2: AVERAGE(B2:B5)
Level: easy
Question: Total number of cities
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C5))
Level: easy
Question: How many cities are there?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C5))
Level: easy
Question: The number of jobs.
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E5))
Level: easy
Question: How many jobs in total?
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E5))
Level: easy
Question: Oldest person's name.
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(B1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A5,SUMX(B2:B5)), 2, -1), 1)
Level: hard
Question: Who's the oldest student? 
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,E1="student"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E5,E2:E5="student"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, -1), 1)
Level: hard
Question: The name of the youngest male.
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,D1="male"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, 1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E5,D2:D5="male"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, 1), 1)
Level: hard
Question: Names of people under 30 
Formula: LET(query1,SUMMARIZE(A1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)<30))
Formula2: LET(query1,SUMMARIZE(A2:A5,SUMX(B2:B5)),FILTER(query1,CHOOSECOLS(query1,2)<30))
Level: hard
Question: How many engineers are over 30?
Formula: ROWS(FILTER(A1:E1, (B1>30)*(E1="engineer")))
Formula2: ROWS(FILTER(A2:E5, (B2:B5>30)*(E2:E5="engineer")))
Level: easy
Question: Average age by gender
Formula: SUMMARIZE(D1,AVERAGEX(B1))
Formula2: SUMMARIZE(D2:D5,AVERAGEX(B2:B5))
Level: easy
Question: Names in alphabetical order and their corresponding jobs
Formula: SORT(UNIQUE(HSTACK(A1,E1)), 1, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A5,E2:E5)), 1, 1)
Level: medium
Question: Names in alphabetical order and their corresponding jobs
Formula: SORT(UNIQUE(HSTACK(A1,E1)), 1, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A5,E2:E5)), 1, 1)
Level: medium
Question: How many females do we have?
Formula: ROWS(FILTER(A1:E1, D1="female"))
Formula2: ROWS(FILTER(A2:E5, D2:D5="female"))
Level: easy
Question: The number of females.
Formula: ROWS(FILTER(A1:E1, D1="female"))
Formula2: ROWS(FILTER(A2:E5, D2:D5="female"))
Level: easy
Question: The avg. of age.
Formula: AVERAGE(B1)
Formula2: AVERAGE(B2:B5)
Level: easy
Question: The average age
Formula: AVERAGE(B1)
Formula2: AVERAGE(B2:B5)
Level: easy
Question: The number of cities.
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C5))
Level: easy
Question: What is the number of cities?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C5))
Level: easy
Question: What is the number of jobs?
Formula: ROWS(UNIQUE(E1))
Formula2: ROWS(UNIQUE(E2:E5))
Level: easy
Question: The name of the oldest person.
Formula: TAKE(SORT(SUMMARIZE(A1,SUMX(B1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(A2:A5,SUMX(B2:B5)), 2, -1), 1)
Level: hard
Question: The name of the oldest student.
Formula: TAKE(SORT(LET(query1,FILTER(A1:E1,E1="student"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:E5,E2:E5="student"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))), 2, -1), 1)
Level: hard
Question: The names of those who are younger than 30.
Formula: LET(query1,SUMMARIZE(A1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)<30))
Formula2: LET(query1,SUMMARIZE(A2:A5,SUMX(B2:B5)),FILTER(query1,CHOOSECOLS(query1,2)<30))
Level: hard
Question: The number of engineers who are older than 30.
Formula: ROWS(FILTER(A1:E1, (B1>30)*(E1="engineer")))
Formula2: ROWS(FILTER(A2:E5, (B2:B5>30)*(E2:E5="engineer")))
Level: easy
Question: The average age for different genders.
Formula: SUMMARIZE(D1,AVERAGEX(B1))
Formula2: SUMMARIZE(D2:D5,AVERAGEX(B2:B5))
Level: easy
Question: What are the names from 'a' to 'z' and corresponding jobs?
Formula: SORT(UNIQUE(HSTACK(A1,E1)), 1, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A5,E2:E5)), 1, 1)
Level: medium
Question: The names from 'a' to 'z' and corresponding jobs.
Formula: SORT(UNIQUE(HSTACK(A1,E1)), 1, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A5,E2:E5)), 1, 1)
Level: medium
Question: how many engineers are over 30?
Formula: ROWS(FILTER(A1:E1, (B1>30)*(E1="engineer")))
Formula2: ROWS(FILTER(A2:E5, (B2:B5>30)*(E2:E5="engineer")))
Level: easy
Question: The number of engineers who are older than 30.
Formula: ROWS(FILTER(A1:E1, (B1>30)*(E1="engineer")))
Formula2: ROWS(FILTER(A2:E5, (B2:B5>30)*(E2:E5="engineer")))
Level: easy