Grouping and Ungrouping Data

PivotTables group inner field items under each outer field heading and, if requested, create subtotals for each group of inner field items. You might find it convenient to group items in additional ways—for example, to collect monthly items into quarterly groups or sets of numbers into larger numeric categories. Excel provides several options for grouping items.

Creating Ad Hoc Item Groupings

Suppose that after looking at Figure 30-2 you decide you'd like to see the Domestic and International sales figures grouped into a category called Retail. To create this group, follow these steps:

  1. Select the Domestic and International headings anywhere in the table (for example, cells B6 and B7 in Figure 30-2).

  2. Choose PivotTable, ...

Get Microsoft® Office Excel 2003 Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.