Error Message Grouping Data in PivotTable (115471)



The information in this article applies to:

  • Microsoft Excel for Windows 5.0
  • Microsoft Excel for Windows 5.0c
  • Microsoft Excel for the Macintosh 5.0
  • Microsoft Excel for the Macintosh 5.0a
  • Microsoft Excel for Windows NT 5.0
  • Microsoft Excel for Windows 95
  • Microsoft Excel for Windows 95 7.0a
  • Microsoft Excel 97 for Windows

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.

Modification Type:MinorLast Reviewed:8/15/2005
Keywords:kberrmsg kbprb KB115471