Challenge - 5 Problems
Org Chart Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate2:00remaining
Calculate the number of direct reports for a manager
Given a list of employees in column A and their managers in column B, which formula in cell D2 correctly counts how many direct reports the manager named in C2 has?
Google Sheets
A2:A10 contains employee names
B2:B10 contains their managers
C2 contains the manager name to check
D2 is where the formula goesAttempts:
2 left
💡 Hint
Think about which column lists the managers for each employee.
✗ Incorrect
The COUNTIF function counts how many times the manager's name in C2 appears in the managers column B2:B10, which equals the number of direct reports.
❓ Function Choice
intermediate2:00remaining
Choose the function to find an employee's manager
You have a table with employees in column A and their managers in column B. Which function would you use in cell D2 to find the manager of the employee named in C2?
Google Sheets
A2:A10 contains employee names B2:B10 contains their managers C2 contains the employee name to find the manager for D2 is where the formula goes
Attempts:
2 left
💡 Hint
You want to find a value in the first column and return a value from the second column.
✗ Incorrect
VLOOKUP looks for the employee name in the first column and returns the corresponding manager from the second column.
❓ data_analysis
advanced3:00remaining
Identify the top-level manager in an org chart
Given a list of employees in column A and their managers in column B, which formula in cell D2 correctly identifies the top-level manager (the one who is not anyone's employee)?
Google Sheets
A2:A10 contains employee names
B2:B10 contains their managers
D2 is where the formula goesAttempts:
2 left
💡 Hint
The top-level manager appears in the managers list but not in the employees list.
✗ Incorrect
This formula finds the first manager in B2:B10 who does not appear in A2:A10, meaning they have no manager above them.
🎯 Scenario
advanced3:00remaining
Create a formula to display the full reporting chain for an employee
You want to create a formula that shows the full chain of managers for an employee listed in C2, using columns A (employees) and B (managers). Which approach is best to build this chain in Google Sheets?
Google Sheets
A2:A10 contains employee names
B2:B10 contains their managers
C2 contains the employee name
D2 is where the formula goesAttempts:
2 left
💡 Hint
A chain requires repeated lookups until no manager is found.
✗ Incorrect
Google Sheets formulas alone cannot loop recursively; a custom script is needed to build a full chain of managers.
📊 Formula Result
expert4:00remaining
Determine the total number of employees under a manager including indirect reports
Given columns A (employees) and B (managers), which formula or method correctly calculates the total number of employees reporting directly or indirectly to the manager named in C2?
Google Sheets
A2:A20 contains employee names B2:B20 contains their managers C2 contains the manager name D2 is where the formula or method result goes
Attempts:
2 left
💡 Hint
Counting indirect reports requires checking multiple levels, not just direct reports.
✗ Incorrect
Only a recursive script can traverse the hierarchy to count all direct and indirect reports; simple formulas count only direct reports.