This function allows you to shrink data down to more manageable quantities so that you can see the bottom-line result rather than all the items and pieces that go into making it. In this article we'll illustrate and walk through the process of using the Outline tools in Excel 2007 to summarize worksheet data.
Excel contains an automatic outline tool that works well in most cases, but if your data doesn't lend itself to automatic outlining you can also create an outline manually. Let's look first at some data that can be outlined automatically. This worksheet contains some basic personal spending data and it has totals for income and expenses in columns D and I of the worksheet.
In this instance, however, Excel can create an auto-outline, and you will see the outline symbols appearing above the worksheet. Use the plus (+) and minus (-) symbols to expand and contract the worksheet data below. You can minimize the worksheet to display only income and expenses totals.
If you decide that you no longer want the worksheet to be outlined, turn the outlining off by clicking in a cell inside the outlined area and, from the Data tab, selecting Ungroup > Clear Outline.
Creating an Outline Manually
If its not possible to outline a worksheet using the outline tool you can manually create an outline for your data. To do this, lets take a worksheet containing an inventory list like the one shown in the illustration on the left. If we want to be able to hide columns B and C and just see columns A and D, we can add an outline group that spans columns B and C.
It is also possible to create an outlined worksheet automatically when you use the Subtotals command to subtotal data in your worksheet. Let's go back to the inventory worksheet and remove the current outline.
To add subtotals for the data, click in a cell in the data area and choose the Data tab and click Subtotal. When the Subtotal dialog appears, select the column name by which you want to subtotal your data the data needs to be sorted in order by this column so like values are adjacent to each other. In our case we'll subtotal by the Color column.
As we want to sum the number of items for each color, choose Sum from the Use Function list and then, because we need a sum of the Number in Stock for each color, we'll select the Number in Stock checkbox.
It is also possible to group this worksheet data so that you can hide columns B and C in addition to the grouped rows. So, with the outline already in place, manually add the grouping to columns B and C by selecting these columns and group them by choosing Data tab > Group > Group.
Outlines and Views
Now let's change the outlining display to your version #2. Look for the worksheet data by expanding or compressing the grouped items.
Save this layout as a second view with a different name. Then, when youre done you can then select the Custom Views button, click a View by name and click Show to display it.
The worksheet will change to show the outline as it was when you created the view. You can switch between views from the Custom Views menu with two clicks instead of having to reset the outline manually each time.
So, next time you need to summarize the data in your worksheet and reduce it to more manageable levels the outline tool can help you group Excel data in an intelligent way.
Helen Bradley is an international journalist writing regularly for small business and computer publications in the USA, Canada, South Africa, UK and Australia. She blogs at http://www.projectwoman.com/blogger.html.
This article was first published on WinPlanet.com.