Knowledge Base

Error Message Grouping Data in PivotTable

Article ID: 115471

Article Last Modified on 8/15/2005


APPLIES TO


This article was previously published under Q115471

SYMPTOMS

When you attempt to group items in a PivotTable, you may receive the following error message:
Cannot group that selection.

CAUSE

A PivotTable range containing a blank row is interpreted as an incorrect data type and, therefore, Microsoft Excel does not allow you to group the data.

WORKAROUND

To group the data in the PivotTable, follow these steps:
  1. Remove all blank rows from the PivotTable data range.
  2. Do the following to refresh the PivotTable:


    1. Select any item in the PivotTable.
    2. On the Data menu, click Refresh Data.

MORE INFORMATION

To group data in a PivotTable, follow these steps:
  1. Select a range of data in the PivotTable.
  2. On the Data menu, point to Group And Outline, and then click Group.
The items are then grouped according to similar items, such as dates or times. However, when a blank row occurs in the PivotTable data range, the data cannot be grouped. A blank row is interpreted as a null value, which cannot be included as part of the grouped data.

Additional query words: 97 database XL97 XL7 XL5 XL

Keywords: kberrmsg kbprb KB115471