Knowledge Base

XL98: Error Message Grouping Data in PivotTable

Article ID: 192285

Article Last Modified on 9/11/2002


APPLIES TO


This article was previously published under Q192285

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: XL98

Keywords: kberrmsg kbprb KB192285