Table:
0
A
B
C
D
E
F
1
employee id
role code
employee name
gender mfu
date of birth
other details
2
25
HR
Leo
2/15/1973 17:16
3
30
MG
Ebba
9/20/1979 12:50
4
38
ED
Stephanie
1
3/30/2012 23:02
5
55
ED
Harley
2/18/1972 11:53
6
57
ED
Armani
12/8/1988 6:13
7
71
ED
Gussie
4/4/1973 21:41
8
99
ED
Izabella
1
7/4/1977 16:25
9
123
PT
Hugh
3/15/2010 0:17
10
136
ED
Mallie
12/11/1980 20:28
11
138
ED
Beatrice
1
4/2/2013 23:55
12
156
PR
Diego
5/30/1998 12:54
13
159
PR
Arno
6/10/2010 20:36
14
173
PR
Alene
1
10/14/1980 12:23
15
181
PR
Ettie
1
8/3/1988 0:11
16
183
PR
Jeramie
8/21/1993 5:22

Questions and formulas:
Question: How many employees do we have?
Formula: SUM(A1)
Formula2: SUM(A2:A16)
Level: easy
Question: Find the number of employees we have.
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: Show the name, role code, and date of birth for the employee with name 'Armani'.
Formula: CHOOSE({1,2,3},FILTER(C1,C1="Armani"),FILTER(B1,C1="Armani"),FILTER(E1,C1="Armani"))
Formula2: CHOOSE({1,2,3},FILTER(C2:C16,C2:C16="Armani"),FILTER(B2:B16,C2:C16="Armani"),FILTER(E2:E16,C2:C16="Armani"))
Level: hard
Question: What are the name, role code, and date of birth of the employee named 'Armani'?
Formula: CHOOSE({1,2,3},FILTER(C1,C1="Armani"),FILTER(B1,C1="Armani"),FILTER(E1,C1="Armani"))
Formula2: CHOOSE({1,2,3},FILTER(C2:C16,C2:C16="Armani"),FILTER(B2:B16,C2:C16="Armani"),FILTER(E2:E16,C2:C16="Armani"))
Level: hard
Question: What is the id for the employee called Ebba?
Formula: FILTER(A1,C1="Ebba")
Formula2: FILTER(A2:A16,C2:C16="Ebba")
Level: easy
Question: Show the id of the employee named Ebba.
Formula: FILTER(A1,C1="Ebba")
Formula2: FILTER(A2:A16,C2:C16="Ebba")
Level: easy
Question: Show the names of all the employees with role "HR".
Formula: FILTER(C1,B1="HR")
Formula2: FILTER(C2:C16,B2:B16="HR")
Level: easy
Question: Which employees have the role with code "HR"? Find their names.
Formula: FILTER(C1,B1="HR")
Formula2: FILTER(C2:C16,B2:B16="HR")
Level: easy
Question: Show all role codes and the number of employees in each role.
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B16,SUMX(A2:A16))
Level: easy
Question: What is the code of each role and the number of employees in each role?
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B16,SUMX(A2:A16))
Level: easy
Question: What is the role code with the largest number of employees?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, -1), 1)
Level: hard
Question: Find the code of the role that have the most employees.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, -1), 1)
Level: hard
Question: Show all role codes with at least 3 employees.
Formula: LET(query1,SUMMARIZE(B1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: What are the roles with three or more employees? Give me the role codes.
Formula: LET(query1,SUMMARIZE(B1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: Show the role code with the least employees.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, 1), 1)
Level: hard
Question: What is the role with the smallest number of employees?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, 1), 1)
Level: hard
Question: How many employees are there?
Formula: SUM(A1)
Formula2: SUM(A2:A16)
Level: easy
Question: How many employee names are there in total?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: What is Armani's role, birthday and id?
Formula: LET(query1,FILTER(A1:F1,C1="armani"),UNIQUE(CHOOSECOLS(query1,2,5,1)))
Formula2: LET(query1,FILTER(A2:F16,C2:C16="armani"),UNIQUE(CHOOSECOLS(query1,2,5,1)))
Level: hard
Question: Armani's role and birthday
Formula: LET(query1,FILTER(A1:F1,C1="armani"),UNIQUE(CHOOSECOLS(query1,2,5)))
Formula2: LET(query1,FILTER(A2:F16,C2:C16="armani"),UNIQUE(CHOOSECOLS(query1,2,5)))
Level: hard
Question: The employee id for ebba.
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="ebba"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,C2:C16="ebba"),1))
Level: medium
Question: What is Ebba's employee id?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="ebba"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,C2:C16="ebba"),1))
Level: medium
Question: Names and ids for all hrs
Formula: LET(query1,FILTER(A1:F1,B1="hr"),UNIQUE(CHOOSECOLS(query1,3,1)))
Formula2: LET(query1,FILTER(A2:F16,B2:B16="hr"),UNIQUE(CHOOSECOLS(query1,3,1)))
Level: hard
Question: Hr employees' names and ids.
Formula: LET(query1,FILTER(A1:F1,B1="hr"),UNIQUE(CHOOSECOLS(query1,1,3)))
Formula2: LET(query1,FILTER(A2:F16,B2:B16="hr"),UNIQUE(CHOOSECOLS(query1,1,3)))
Level: hard
Question: How many employees per role code?
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B16,SUMX(A2:A16))
Level: easy
Question: Total number of employees per role code.
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B16,SUMX(A2:A16))
Level: easy
Question: The role with most employees.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, -1), 1)
Level: hard
Question: Which role has the most employees?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, -1), 1)
Level: hard
Question: Which role has 3 or more employees?
Formula: LET(query1,SUMMARIZE(B1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: Roles having 3 or more employees.
Formula: LET(query1,SUMMARIZE(B1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: Which role has the least employees?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, 1), 1)
Level: hard
Question: The role code with the least employees.
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, 1), 1)
Level: hard
Question: The number of employees.
Formula: SUM(A1)
Formula2: SUM(A2:A16)
Level: easy
Question: How many employee names?
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C16))
Level: easy
Question: What is the role, birthday and id for Armani?
Formula: LET(query1,FILTER(A1:F1,C1="armani"),UNIQUE(CHOOSECOLS(query1,2,5,1)))
Formula2: LET(query1,FILTER(A2:F16,C2:C16="armani"),UNIQUE(CHOOSECOLS(query1,2,5,1)))
Level: hard
Question: Role and birthday of the employee Armani.
Formula: LET(query1,FILTER(A1:F1,C1="armani"),UNIQUE(CHOOSECOLS(query1,2,5,1)))
Formula2: LET(query1,FILTER(A2:F16,C2:C16="armani"),UNIQUE(CHOOSECOLS(query1,2,5,1)))
Level: hard
Question: What is the employee id for ebba?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="ebba"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,C2:C16="ebba"),1))
Level: medium
Question: How many employees under each role code?
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B16,SUMX(A2:A16))
Level: easy
Question: The number of employees for each role code.
Formula: SUMMARIZE(B1,SUMX(A1))
Formula2: SUMMARIZE(B2:B16,SUMX(A2:A16))
Level: easy
Question: What is the role with most employees?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, -1), 1)
Level: hard
Question: What is the role with no less than 3 employees?
Formula: LET(query1,SUMMARIZE(B1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: The role having at least 3 employees.
Formula: LET(query1,SUMMARIZE(B1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(B2:B16,SUMX(A2:A16)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: What is the role with the least employees?
Formula: TAKE(SORT(SUMMARIZE(B1,SUMX(A1)), 2, 1), 1)
Formula2: TAKE(SORT(SUMMARIZE(B2:B16,SUMX(A2:A16)), 2, 1), 1)
Level: hard