You are on page 1of 6

Excel Pivot Table Tutorial -- Grouping Data

http://www.contextures.com/xlpivot07.html

Search Contextures Sites

1. Grouping Dates 2. Grouping Dates by
Week

ETL Open Source Download Fast, Powerful, Affordable, Easy Integration Tools. Free Download!
www.Talend.com/Open_Source_ETL

3. Grouping Text Items 4. Problems when
Grouping Data

Excel Tutorials Online Online training videos, lessons and more. Learn from the experts!
www.lynda.com

5. Count Unique Items 6. Grouping in One
Pivot Table Affects Another 7. Excel Pivot Table Tutorial List

Generate Excel Reports Create data-drive, analysis ready spreadsheets for enterprise users.
Actuate.com/Spreadsheets

ISO 16232 Particle Sizing Fully Automated Filter Scanning Saves Time Accurate - Easy to Use
www.gt-vision.com

Download the zipped sample file for this Excel Amazon.com pivot table tutorial View the steps in a short Pivot Table
Grouping video

In an Excel Pivot Table, you can group the items in a Row or Column field. For example, items in a date field can be grouped by month, and items in a number field can be grouped by tens.

To group the items in a Date field 1. Right-click the Date field button. 2. Choose Group and Show Detail | Group

1 of 6

9/28/2010 8:24 AM

Grouping Data http://www. Choose Group and Show Detail | Group 3. you can set a Start and End date. was entered as the starting date. In the Grouping dialog box. select one or more options from the 'By' list. Click OK 2 of 6 9/28/2010 8:24 AM . In the Grouping dialog box. To group the items in a Date field by week 1. so adjust this if necessary. by typing the dates in the 'Starting at' and 'Ending at' boxes 5.com/xlpivot07. 4. 2003 (a Monday).Excel Pivot Table Tutorial -. Right-click the Date field button. select Days from the 'By' list. Click OK to close the dialog box. December 29. select 7 5. 6.html 3. To limit the dates that are grouped. 2. For 'Number of days'. 4. In the example at right.contextures. The week range is determined by the date in the 'Starting at' box.

1. e. If numbers are being recognized as text. remove it.com/xlpivot07. and try the grouping steps. To fix the problem For blank cells.Excel Pivot Table Tutorial -. or text in a date/number field. you may see an error message that says. If there is text in the date/number field.html The Grouping dialog box isn't available if you try to group items in a text field. Type a new name. "Cannot group that selection. Then return to this pivot table tutorial. If you don't have blank cells or text in the date column. then click Group Selection To rename the group: 1. If you try to group a date or number field." This problem usually occurs when the field contains records with a blank date/number field.contextures. Click on the heading cells with the default name. Group1 2. use one of the techniques to change text to real numbers.Grouping Data http://www. Select the items that you want to group 2.g. fill in the date/number (use a dummy date/number if necessary). On the Ribbon's Options tab. there may be a 3 of 6 9/28/2010 8:24 AM . Instead. you can manually group the items. click Group.

contextures. when you change the grouping in one pivot table.Grouping Data http://www. Check the field list.html grouped field left over from the previous time that you grouped the data. instead of how many orders were placed.1) Copy the formula down to all rows in the database. 3. For example. In an Excel pivot table. you may want to know how many unique customers placed an order for an item. 2. 1. However. then add that field to the pivottable. add the field to the data area of the Excel pivot table. you can see that nine unique customers placed an order for binders. A pivot table won't calculate a unique count. In this example. you should be able to group the date field again. to count the unique occurences of a Customer/Item order. Date2.com/xlpivot07.Excel Pivot Table Tutorial -. If there is. If you create two pivot tables based on the same Excel Table in Excel 2007. enter a formula that refers to the customer and item columns.g. Then. add it to the row area. Then. and ungroup it. to see if there's a second copy of the date field. you could add a column to the database. For example: =IF(SUMPRODUCT(($A$2:$A2=A2)* ($C$2:$C2=C2))>1. add a column to your database. 4 of 6 9/28/2010 8:24 AM .0. and there were 14 orders for binders. e. with the heading 'CustItem' In the first data row.

you'll need to create a separate pivot cache for each pivot table. by default they use the same pivot cache.Add-in . the grouped items are the same in both tables.GetPivotData Excel Pivot Table -. Cut the second pivot table. Top 10 Excel Pivot Table -.Multiple Consolidation Ranges Excel Pivot Table -. Cut the second pivot table from the new workbook. Beginning (Excel 2007) Pivot Tables. Download the zipped sample file for this Excel pivot table tutorial Excel Pivot Table -. 3.Copy a Custom PivotTable Style Pivot Tables .Filters. To use different grouping in each pivot table.contextures.Create in Excel 2007 Pivot Tables .html the same grouping appears in the other pivot table.Clear Old Items Pivot Tables . Excel 2007 Excel Pivot Table -. Use the following method.Filter Source Data Excel Pivot Table -. Change the grouping of the second pivot table.Grouping Data http://www. To create a separate pivot cache for the second pivot table: 1. 2. and paste it into a new workbook.Grand Totals Excel Pivot Table -.Create a Pivot Table in Excel 2007 Excel Pivot Table -.Field Settings Excel Pivot Table -.Excel Pivot Table Tutorial -. Because you created the two pivot tables from the same source data.Add-in -.Layout.Clear Old Items Excel Pivot Table -.Pivot Cache Pivot Tables.Grouping Data Excel Pivot Table -. suggested in the Excel newsgroups by Dave Peterson.FAQs Excel Pivot Table -. and paste it back into the original workbook.Dynamic Data Source Excel Pivot Table -.Pivot Play PLUS Pivot Tables . Recipe Book (Excel 2007) Pivot Tables . Recipe Book (Excel 2003) Pivot Tables.Pivot Power Pivot Tables .Introduction Excel Pivot Table -.com/xlpivot07.Create from Multiple Sheets 5 of 6 9/28/2010 8:24 AM .Custom Calculations Excel Pivot Table -.Data Field Layout Excel Pivot Table -.

Group Data Pivot Tables . Copyright ©2010 All rights reserved.Summary Functions Excel Pivot Table -.PivotTable Style Excel Pivot Table -. Debra Dalgleish Last updated: August 21.Report Filters Excel Pivot Table -.GetPivotData Pivot Tables .Running Totals Pivot Tables .Excel Pivot Table Tutorial -. 2010 8:39 PM 6 of 6 9/28/2010 8:24 AM .Grouping Data http://www.Date Filters.Protection Excel Pivot Table -.contextures.Running Totals Excel Pivot Table -.Data Field Layout Pivot Tables .Sorting Excel Pivot Table -.Printing Excel Pivot Table -. Excel 2007 Pivot Tables . Add Pivot Tables .Report Filters. Add Pivot Tables .Subtotals Excel Pivot Table -.Subtotals.Show and Hide Items Excel Pivot Table -.html Excel Pivot Table -.Top 10 Filters Home Excel Tips Excel Files The Excel Store Blog Contact Privacy Policy Contextures Inc.Unique Items Pivot Tables .Select Sections Pivot Tables .com/xlpivot07..Layout. Create Multiple Pivot Tables .