Group and Outline Excel Data
Excel has some pretty good features for those who know where to find them. Among the easier ones to use are outlining and grouping, which allow you to make large quantities of data minimizable so that complex spreadsheets are easier to navigate. To outline and group data in both newer and older versions of Excel, follow these steps.
Contents
Steps
- Open the file you wish to work on. Grouping and outlining is extremely useful for making large tables more manageable in size and appearance, but for the sake of simplicity, this demonstration will use a small spreadsheet.
- Go to data. In newer versions of Excel, this is a subsection in the ribbon. If you have an older version of Excel that has a toolbar instead of a ribbon, click on the Data drop-down menu.
Outline Automatically
- Go to Data > Group > Auto Outline. For older versions of Excel, go to Go to Data > Group and Outline > Auto Outline.
- When grouping, Excel looks for data sandwiched between logical bookends (i.e. headings at the beginnings and formula totals at the ends), singles it out, and gives you the option of minimizing it. If Excel informed you that it could not create an automatic outline, it’s because your spreadsheet contains no formulas. You will have to group your data manually (skip to Manually Group Data below).
- Look at your automatically-outlined spreadsheet. Depending on the complexity and arrangement of your spreadsheet, you will notice that section(s) of your data have become grouped and are now marked by bars along the top and/or left side of the cells. The example spreadsheet is very simple and has only been grouped in one place.
- In the example outline, that data between the first row (the header) and the final two rows (both of which contain formulas) has been automatically grouped. Cell B7, for example, contains a SUM formula.
- Click on the [–] button to minimize a group of data.
- Look at the data that remains. This is usually key information, giving the viewer the option of whether or not to investigate the specifics and making your spreadsheet easier to digest.
- Clear the automatic outline if desired. If Excel has misinterpreted your data and you aren’t pleased with the results, you can clear your outline by going to Data > Ungroup (or Group and Outline) and selecting Clear Outline; from here, you manually group and ungroup data (see method below). If it’s close, you may only want to tweak the automatic outline to save yourself time.
Manually Group Data
- Select the cells you want to be able to minimize. In this example, we want only the heading and grand total to show after the data is minimized, so we are selecting everything in between.
- Go to Data > Group > Group. For older versions of Excel, go to Go to Data > Group and Outline > Group.
- When prompted, choose either Rows or Columns. In this example, we want to flatten the data vertically, so we are choosing Rows.
- Note the section of data that has been grouped. It is now marked by a bar along the left side or top of the cells.
- Click the [-] button to minimize.
- Select and group additional areas if desired. Expand the current selection if necessary (by pressing [+]), then repeat Steps 1 through 4 to create new groups. In this example, we want to make a subgroup within the first group that excludes the subtotals, so we are selecting all the cells between the heading and the subtotals.
- Note the new section of data that has been grouped.
- Minimize the new group and note the difference in appearance.
- To ungroup a section, re-select it and go to Data > Ungroup > Ungroup. For older versions of Excel, go to Go to Data > Group and Outline > Ungroup
- To ungroup all sections, go to Data > Ungroup (or Group and Outline) > Clear Outline.
Tips
- You cannot use this function if the sheet is shared.
- Often times, the automatic outline feature doesn’t work exactly like you want it to. Manual outlining – that is, creating a series of groups – is sometimes simpler and more customized to the information you have in your spreadsheet.
Warnings
- Do not use grouping/outlining if you plan to save your excel file to a htm/html page.
- Do not use grouping/outlining if you plan to protect the worksheet; the user will not be able to expand and collapse the rows!
Related Articles
- Ungroup in Excel
- Calculate the Day of the Week in Excel
- Create Pivot Tables in Excel
- Create a Formula to Increase a Date by 1 Month
- Use AutoFilter in MS Excel
- Read and Interpret a Spread Sheet
- Recover a Corrupt Excel File
- Apply Conditional Formatting in Excel
- Convert Measurements Easily in Microsoft Excel
- Create a Mortgage Calculator With Microsoft Excel
- Hide Rows in Excel
- Alphabetize in Google Docs