How to Create a Tree Table in Excel

Ever found yourself drowning in a sea of data, wishing you could visualize it in a more intuitive way? A tree table in Excel can be your lifesaver, transforming complex data into a hierarchical, easy-to-understand format. Let's dive into how to create one, step by step.

How to Make a Decision Tree in Excel: A Step-by-Step Guide
How to Make a Decision Tree in Excel: A Step-by-Step Guide

Before we begin, ensure you're using Excel 2010 or later, as the tree table feature is not available in earlier versions. Now, let's get started!

How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)
How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)

Creating a Basic Tree Table

We'll start by creating a simple tree table with a few columns. For this example, let's use data about a company's departments and their respective employees.

How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)
How to Make a FAMILY TREE in EXCEL (Using Free Templates or from Scratch)

First, you'll need to structure your data. Assume you have a table like this:

DepartmentEmployee
HRJohn Doe
HRJane Smith
ITMike Johnson
ITEmily Davis
the family tree is shown in black and white
the family tree is shown in black and white

Step 1: Add Headers

In the first row, add headers for your columns. In our case, that's 'Department' and 'Employee'.

Next, select the data you want to convert into a tree table. In our example, select the entire table, including the headers.

How to Make a Family Tree in Excel | Edrawmax Online
How to Make a Family Tree in Excel | Edrawmax Online

Step 2: Convert to Tree Table

With your data selected, click on the 'Insert' tab in the Excel ribbon. In the 'Tables' group, click on 'PivotTable'.

In the 'Create PivotTable' dialog box, ensure the correct data range is selected, and choose where you want to place the PivotTable. Click 'OK'.

How to Create a Table in Excel
How to Create a Table in Excel

Step 3: Format as Tree Table

Now, your data should be in a PivotTable format. To convert it into a tree table, right-click anywhere in the PivotTable and select 'PivotTable Tools' > 'Design' > 'Report Layout' > 'Show in Tabular Form'.

Excel Select Entire Table Shortcut Step by Step
Excel Select Entire Table Shortcut Step by Step
Using Excel Tables for Genealogy
Using Excel Tables for Genealogy
How to Create a Table in Excel / How to Format a Table in Excel - Tutorial
How to Create a Table in Excel / How to Format a Table in Excel - Tutorial
the excel basics for beginners poster is shown in green and white, with instructions on how
the excel basics for beginners poster is shown in green and white, with instructions on how
How to Create and Manage a Custom Table Style in Your Excel Worksheet
How to Create and Manage a Custom Table Style in Your Excel Worksheet
How to Make Data Tables in Excel in 60 Seconds
How to Make Data Tables in Excel in 60 Seconds
Microsoft Excel Tables - What are they, how to make a table & 13 tips
Microsoft Excel Tables - What are they, how to make a table & 13 tips
Excel Tips & Tricks
Excel Tips & Tricks
the info sheet for excel tips and tricks
the info sheet for excel tips and tricks
a computer screen with an arrow pointing to the text boss how did you make this org chart?
a computer screen with an arrow pointing to the text boss how did you make this org chart?
How to MAKE and USE Decision Tree Analysis in Excel
How to MAKE and USE Decision Tree Analysis in Excel
13 Tree Trunk Coffee Table Diy Collections ......
13 Tree Trunk Coffee Table Diy Collections ......
the excel tips and tricks poster shows how to use them for presentations, presentations or work
the excel tips and tricks poster shows how to use them for presentations, presentations or work
the excel pivotable guide is shown in green and white, with an arrow pointing to
the excel pivotable guide is shown in green and white, with an arrow pointing to
130+ Free Excel Tutorials
130+ Free Excel Tutorials
Unlock Excel’s Power - 50 Pivot Table Tricks
Unlock Excel’s Power - 50 Pivot Table Tricks
How to Update an Excel Pivot Table - Even if the Source Data Changes (+ video tutorial)
How to Update an Excel Pivot Table - Even if the Source Data Changes (+ video tutorial)
the advanced excel chart sheet is shown in green and has instructions on how to use it
the advanced excel chart sheet is shown in green and has instructions on how to use it
the excel sheet is shown in green and has instructions on how to use it for business purposes
the excel sheet is shown in green and has instructions on how to use it for business purposes
the excel data anals and visualization method is shown in this poster, which shows how
the excel data anals and visualization method is shown in this poster, which shows how

Your PivotTable should now look like a tree table. However, it's not interactive yet. Let's fix that.

Adding Interactivity to Your Tree Table

Now that you have a basic tree table, let's make it interactive. This will allow you to expand and collapse the hierarchy, making your data more manageable.

For this, we'll use the 'Outline' feature in Excel.

Step 1: Add Outlines

Select any cell in your tree table. Click on the 'Home' tab in the Excel ribbon. In the 'Cells' group, click on 'Format as Table'.

In the 'Format as Table' dialog box, ensure the correct data range is selected. Click 'OK'.

Step 2: Show Outlines

Now, click on the 'Home' tab again. In the 'Cells' group, click on 'Format as Table'. In the dropdown menu, click on 'Show Outlines'.

Your tree table should now have expandable and collapsible sections, allowing you to interact with your data more efficiently.

And there you have it! You've created an interactive tree table in Excel. This skill will not only make your data more manageable but also more engaging for anyone who views it. Happy tree table creating!