Outline (Or Grouping) in Excel: Features, Creation, Uses & More

Below, we have a dataset containing Member ID, Joining Date, Name, State, Designation, and Member Type. We will outline or group these data based on Member Type criteria.

Outline Data Applying Subtotal

 


What Does Outlining (Group) Data Mean in Excel?

Outlining or grouping data is an action in Microsoft Excel that allows you to set up and layout your spreadsheet by grouping rows or columns together. It is very helpful when working with a large number of data in different categories. The outlining tool is useful for constructing hierarchical structures, summarizing data, and increasing worksheet readability.

If you see the GIF below, you will understand the concept better. The data on the table are outlined or grouped based on the Member Type (Premium, Local, and Platinum).

Meaning of Outline Data in Excel


How to Prepare Your Worksheet Before Outlining or Grouping Data

If you intend to outline or group data in Excel, the first thing you need to do is prepare your worksheet. You can outline rows, columns, or both. Here, we have followed some rules to prepare our worksheet before outlining or grouping data.

  • The values of the last three columns (State, Designation, and Member Type) will be used to outline or group data.
  • Each column has a label or header in the first row.
  • We have consecutively entered similar data in one column.
  • The cells must have values because we cannot outline or group data if the cells are empty.

Worksheet Preparation to Outline Data in Excel


How to Group or Outline Rows Using Subtotal in Excel

What Is the Subtotal Feature in Excel?
The Subtotal command will be greyed out if you are dealing with an Excel table. To add subtotals to a table, first convert it to a regular range of data and then add the subtotal. Please remember that this will eliminate all table functionality from the data except for table formatting.

Subtotal in Excel

Steps:

To apply the Subtotal feature,

  • Select any cell from the required table.
  • Go to the Data tab and select Outline.
  • Click on Subtotal.

Using Data Tab to Open Subtotal Option

  • After completing those tasks, you will get a dialogue box named Subtotal.
  • From the drop-down ribbon, select Member Type as we want to outline or group data based on the Member Type.
  • Click on OK.

Subtotal Dialogue Box

  • The table has been grouped or outlined.
  • To display the detailed data within a group, click the button for the group or press ALT+SHIFT+=.
  • If you want to hide the outlined data, press ALT+SHIFT+-.
  • Similar operations can be done by symbols.

Outline Data Using Subtotal Feature

Check out the following GIF.

Outline Data Applying Subtotal


How to Create an Outline of Columns in Excel

Steps:

  • Select a range of cells you want to outline or group.

Selecting Columns to Outline in Excel

  • Go to Data >> Outline >> Group >> Auto Outline.

Creating Outline of Columns in Excel

When you click on the Auto Outline feature, you will find a message box containing Cannot create an outline.

Dialogue Box

But it was not supposed to happen. The data should have been outlined or grouped. So, why it happened? It happened because there are no numeric values containing formulas in the table. All the values that are to be grouped or outlined are textual. To operate Auto Outline, you must put numeric values with formulas in the table.

Now you need to click another option.

  • Go to Data >> Outline >> Group >> Group.

Applying Group Option to Create Outline of Columns

You will find the columns outlined as required.

Outline of Columns in Excel

Note: Users can also construct nested outlines in Excel. This implies you can group data that is related to your present groups.


What Is Auto Outline Feature in Excel & How Does It Work?

You can apply Auto Outline when working with numerical data, specifically numerical data with formulas. If you observe the following example, you will understand the function of Auto Outline better.

The example below calculates the total prices of the laptop, mobile, and tablet using formulas. Then, when the Auto Outline feature is applied, the data is outlined based on the prices of the products.

Performing Auto Outline in Excel


How to Outline or Group Data in a Pivot Table

You can outline or group data in PivotTable. A Pivot Table is an effective instrument for calculating, summarizing, and evaluating data that allows you to see similarities, patterns, and trends. PivotTables behave differently depending on the platform on which you run Excel.

Steps:

  • Go to the Insert tab.
  • Then PivotTable >> From Table/Range.

Inserting PivotTable to Outline Data

  • You will get a dialogue box named PivotTable from the table or range. Do the required operations and click on OK.

Selecting Range to PivotTable

  • You will find the PivotTable Fields option on the right side of the sheet.
  • Check the Member Type box and then Name.

Outline Data Using PivotTable

You will see that the names are grouped or outlined according to the Member Type.

PivotTable to Outline or Group Data

You can also choose another field, apart from Member Type, to group or outline data.


Keyboard Shortcuts for Outlining Data in Excel

You can use keyboard shortcuts to outline data in Excel. Select the range of cells you want to outline or group and then press the following keys.

  • Alt+Shift+Down Arrow (⬇️) to group selected rows.
  • Alt+Shift+Down Arrow (⬆️) to ungroup selected rows.
  • Alt+Shift+Right Arrow (➡️) to group selected columns
  • Alt+Shift+Left Arrow (⬅️) to ungroup selected columns.

Using Keyboard Shortcuts to Outline Data in Excel


How to Copy Outlined Data in Excel

Steps:

  • Go to the Home tab.
  • Click on Editing >> Find & Select >> Go To Special.

Selecting Find & Replace to Copy Outlined Data

  • You will find a dialogue box named Go To Special.
  • Check on Visible cells only and click on OK.

Go To Special Dialogue Box

  • Enter the data you want and go to the desired sheet. Only the visible values have been copied and pasted to the required sheet.

Copy and Paste Outline Data


How to Ungroup Data or Remove Outline in Excel

Steps:

  • Select the range of cells you want to ungroup.
  • Go to the Data tab.
  • Click on Outline >> Ungroup >> Ungroup. This will help you ungroup or remove outlined data in Excel.

Removing or Ungrouping Outline

Note: Since we don’t have numerical values with formulas, we don’t need to click on Clear Outline; rather, we need to select Ungroup, as there are textual values.


How to Create a Summary Report in Excel with the Help of Outlined Data

Steps:

  • Select the totals you want to make the summary report.
  • Go to the Insert tab.
  • Select Chart and click on 2-D Column.

Creating Summary Report in Excel with The help of Outlined Data

You will get the desired summary report based on the totals of your data.

Summary Report of Outlined Data

Here, we have used a 2-D column chart to display the summary report. You can also use another type of chart.


What Are Common Mistakes While Creating & Working with Excel Outline?

  • Data grouping too much at once is one common problem. This may make the worksheet harder to read and cause Excel to operate more slowly.
  • If you accidentally forget to label, it will be a big problem when outlining data in Excel. To ensure that other people can comprehend your data, always carefully identify your outlines.
  • Be careful not to unintentionally erase or collapse crucial information. Always verify before making any significant edits to your outlines.

Download the Practice Workbook

You can download the workbook to practice.

Get FREE Advanced Excel Exercises with Solutions!

Tags:

Beni Yameen Jonayed
Beni Yameen Jonayed

Beni Yameen Jonayed, holding a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, works as an Excel & VBA Content Developer at ExcelDemy. His deep interest in research and innovation extends to his passion for Excel. In his role, Jonayed not only skillfully addresses challenges but also shows enthusiasm and expertise in handling tough situations with finesse, emphasizing his dedicated commitment to delivering outstanding content. He is interested in Data Analysis with MS... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo