

On the Home tab, in the Cells group, click Format, point to Hide & Unhide, and then click Unhide Columns To display the data, drag across the visible column letters adjacent to the hidden columns.

If you ungroup an outline while the detail data is hidden, the detail columns may remain hidden. Hold down SHIFT while you click the or for the group, and then on the Data tab, in the Outline group, click Ungroup. You can also ungroup sections of the outline without removing the entire level. If you want to ungroup columns, select the columns, and then on the Data tab, in the Outline group, click Ungroup. The outline symbols appear beside the group on the screen.Ĭontinue selecting and grouping inner columns until you have created all of the levels that you want in the outline. Don't select the summary column for the data you are grouping. Note that if you don't select entire columns, when you click Group (on the Data tab in the Outline group) the Group dialog box will open and ask you to choose Rows or Columns.ģ. These columns are selected and ready to group. Here, two sections are already grouped at level 2.Ģ. You can create multiple groups at each inner level. To outline an inner, nested group of detail columns (level 2 or higher), select the detail columns adjacent to the column that contains the summary column.ġ. The outline symbol appears above the group. On the Data tab, in the Outline group, click Group. Note that if you don't select entire columns, when you click Group (on the Data tab in the Outline group) the Group dialog box will open and ask you to choose Rows or Columns. Select all the detail and subtotal columns. To outline the outer group (level 1), select all of the subordinate summary columns, as well as their related detail data.Ģ.

Important: When you manually group outline levels, it's best to have all data displayed to avoid grouping columns incorrectly. On the Data tab, in the Outline group, click the arrow under Group, and then click Auto Outline. Select a cell in the range of cells you want to outline. Then in the Settings dialog box, clear the Summary rows below detail checkbox, and then click OK. If you created your summary rows above your detail rows, on the Data tab, in the Outline group, click the dialog box launcher. If you created the summary rows below the details, skip to the next step (step 4). The table later in this topic shows you an example of this.īy default, Excel looks for summary rows below the details they summarize, but it's possible to create them above the detail rows. For example, under (or above) the rows of sales data for March and April, use the SUM function to subtotal the sales for those months.

Insert your own summary rows, with formulas, immediately below or above each group of detail rows. For more information about using the Subtotal function, see SUBTOTAL function. Use the Subtotal command, which inserts the SUBTOTAL function immediately below or above each group of detail rows and automatically creates the outline for you. Insert summary rows by using the Subtotal command To create these, do one of the following: If you want, your grouped detail rows can have a corresponding summary row-a subtotal. Make sure that each column of the data that you want to outline has a label in the first row (e.g., Region), contains similar facts in each column, and that the range you want to outline has no blank rows or columns. To expand or collapse data in your outline, click the and outline symbols, or press ALT+SHIFT+= to expand and ALT+SHIFT+- to collapse. Level 3 contains detail rows - in this case, rows 17 through 20.ĥ. Level 2 contains total sales for each month in each region.Ĥ. Level 1 contains the total sales for all detail rows.ģ. To display rows for a level, click the appropriate outline symbols.Ģ. You can create an outline of rows (as shown in the example below), an outline of columns, or an outline of both rows and columns.ġ. Use an outline to quickly display summary rows or columns, or to reveal the detail data for each group. Each inner level, represented by a higher number in the outline symbols, displays detail data for the preceding outer level, represented by a lower number in the outline symbols. If you have a list of data you want to group and summarize, you can create an outline of up to eight levels. Excel for Microsoft 365 Excel for the web Excel 2021 Excel 2019 Excel 2016 Excel 2013 Excel 2010 Excel 2007 More.
