Org chart template for Excel
An org chart shows who reports to whom. In Excel people usually draw it with shapes and then redraw it after every change. This template works the other way round: you keep one list of names and managers, and Excel works out the levels, span of control, headcount per unit and the boxes on the chart. This page shows how.
In short: one row per person with ID, name, job title, department and the manager's ID. From that the template works out the chain upward, the level, the direct reports (COUNTIF), the people in each unit (COUNTIF with a wildcard) and the position on the chart. The Org chart sheet places boxes in a cell grid, one level per band of rows.
Before you start: COUNTIF, INDEX and MATCH.
Try it now
Span of control is the number of direct reports. One formula filled down, and two figures built on it:
Task D2: how many people report directly to the person in row 2? Fill down to D9. G2: the number of managers (at least one direct report). G3: the average span of control of those managers.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | ID | Name | Manager ID | Direct reports | ||||
| 2 | 1 | Sarah Mitchell | Managers | |||||
| 3 | 2 | Daniel Hughes | 1 | Average span | ||||
| 4 | 3 | Laura Collins | 1 | |||||
| 5 | 4 | Grace Turner | 2 | |||||
| 6 | 5 | Ryan Foster | 2 | |||||
| 7 | 6 | Chloe Bennett | 2 | |||||
| 8 | 7 | Adam Price | 3 | |||||
| 9 | 8 | Megan Ross | 3 | |||||
| 10 | ||||||||
| 11 |
Download the org chart template
The workbook has five sheets: Employees for 60 people, the Org chart to print (landscape on one page), an Outline with everyone indented by level plus headcount per department, Lists for departments, and Instructions. The Check column flags duplicate IDs and managers who do not exist. Formulas are protected without a password; only the yellow cells are inputs.
Enlarge previewDownload the finished template
The finished Excel file org-chart-template.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.
Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.
Create a free account and download the template Already have an account? Log in
What the template works out from the list
| Column | Meaning | Formula (core) |
|---|---|---|
| Level | 1 = the person at the top | number of managers in the chain + 1 |
| Direct reports | span of control | COUNTIF(manager IDs,ID) |
| People in unit | headcount of the unit, the person included | COUNTIF(paths,path&"*") |
| Manager | name | INDEX and MATCH |
| Check | ok or a warning | duplicate ID, unknown manager ID, chain too long |
At the top you get people, levels, managers and the average span of control with AVERAGEIF. The Outline sheet counts people and managers per department.
The trick: one path per person
A person's level depends on their manager's level. If every row took the level from the same column, Excel would report a circular reference. So the template works sideways: column P fetches the manager's ID, column Q that manager's manager, and so on for up to seven steps. That chain becomes a path of five-digit IDs, such as K00001 00010 00011 for someone under the head of operations under the chief executive.
With a path, a lot gets easy. Everyone whose path starts with yours belongs to your unit, which COUNTIF counts with the wildcard *. And because text sorts, "less than this path" gives the order on the chart: each manager, then their unit. The second exercise works out unit size and level from a path; LEN counts the characters.
Task Column C holds each person's path: K, then the two-digit ID of every level from the top down to the person. D2: how many people belong to this person's unit, including themselves? E2: which level are they on? Fill both formulas down to row 9.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | ID | Name | Path | People in unit | Level | |
| 2 | 1 | Sarah Mitchell | K01 | |||
| 3 | 2 | Daniel Hughes | K0102 | |||
| 4 | 3 | Laura Collins | K0103 | |||
| 5 | 4 | Grace Turner | K010204 | |||
| 6 | 5 | Ryan Foster | K010205 | |||
| 7 | 6 | Chloe Bennett | K010206 | |||
| 8 | 7 | Adam Price | K010307 | |||
| 9 | 8 | Megan Ross | K010308 | |||
| 10 | ||||||
| 11 |
This exercise is part of Premium.
Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.
See Premium Already Premium? Log in
The first exercise in this lesson is free.
How the boxes get onto the grid
Each level is a band of four rows: a thin line, name, job title, department. A box's column is the number of end positions (people with no reports) that come before the person in path order, plus 1. That puts every manager above their first report, and nothing overlaps. Every person gets a key such as 3-5 (level 3, column 5), and each cell of the grid looks it up with INDEX and MATCH.
The line above a team runs from the manager's column to the column of their last report, found with MAXIFS. Conditional formatting colors the line and the boxes. There is room for 5 levels and 12 end positions; beyond that the sheet shows a note, and the Outline still lists everyone.
Org chart with SmartArt
If you prefer shapes with connector lines, use SmartArt: Insert > SmartArt > Hierarchy and an organization chart layout. In the Text pane type or paste one name per line and set the level with Demote and Promote, as the Microsoft help on organization charts describes. Take the order and levels from the Outline sheet. The catch with SmartArt: it does not follow the list. Every change in the team means editing it by hand.
Build it yourself, step by step
- A list with ID, name, job title, department, manager ID; department as a drop-down.
- Chain upward in P to V:
=IF(P6="","",IFERROR(IF(INDEX($E$6:$E$65,MATCH(P6,$A$6:$A$65,0))="","",INDEX($E$6:$E$65,MATCH(P6,$A$6:$A$65,0))),"")) - Path: "K" and for each step
RIGHT("0000"&ID,5), top down. Level:=COUNT(P6:V6)+1. - Direct reports, people in unit and manager name as in the table above.
- Chart column:
=COUNTIFS($G$6:$G$65,0,$K$6:$K$65,"<"&K6,$K$6:$K$65,">=K")+1, key=F6&"-"&L6. - Grid: each box
=IFERROR(INDEX(Name,MATCH("2-3",Key,0)),""), lines with COUNTIFS, colors with conditional formatting. - Unlock the inputs, protect the sheets, print the chart landscape on one page.
Common mistakes
Linking by name instead of ID
Two people with the same name, or one typo, and the links break. A unique number per person is safer.
A circular chain
If A manages B and B manages A, there is no top. The template shows "Check the chain" instead of running into a circular reference.
Averaging over everyone
Span of control is an average over managers. AVERAGE over all people counts everyone without a team as 0 and drags the figure down.
Assistant positions
An executive assistant shows up as a normal box on level 2. To set it apart, use SmartArt with a layout that has an assistant shape.
The formulas in German Excel
| English | German |
|---|---|
| COUNTIF, COUNTIFS, COUNT | ZÄHLENWENN, ZÄHLENWENNS, ANZAHL |
| AVERAGEIF, AVERAGEIFS, MAXIFS | MITTELWERTWENN, MITTELWERTWENNS, MAXWENNS |
| INDEX, MATCH, IFERROR | INDEX, VERGLEICH, WENNFEHLER |
| LEN, RIGHT, MID | LÄNGE, RECHTS, TEIL |
German Excel separates arguments with a semicolon.
Which Excel versions support this?
According to Microsoft, MAXIFS is available in Excel 2019 and later and in Microsoft 365, on Windows and Mac. Older versions show an error in the "Last team column" helper and the chart loses its lines; the list, levels, spans and outline still work. Every other function exists in all current versions.
FAQ
Is the org chart template free?
Yes. Download the Excel file with a free account, no subscription and no payment details.
How many people does it hold?
The list has room for 60 people and the outline shows them all. The drawn chart holds 5 levels and 12 end positions; for bigger organizations print it per department.
What decides the order of colleagues side by side?
Their ID. Give someone a lower number to move them further left.
Can I add photos to the boxes?
Not with formulas. A SmartArt picture layout is the better tool for that.
What is a good span of control?
There is no single right number; it depends on the work and the organization. The template shows it per manager and leaves the judgment to you.
Who owns which task is the job of the RACI chart, who can do what is the skills matrix. Find every file under Excel templates.