How To Create A Pivot Table In Excel 2010 Count
Select the range of data for the pivot table and click on the OK button.
How to create a pivot table in excel 2010 count. Figure 6- Creating the Pivot Table. MS Excel selects the data of the table. To get a unique count of salespeople per region in Excel 2010 we can produce a Pivot Report and then Pivot the Pivot to get our final result.
To show a unique or distinct count in a pivot table you must add data to the object model when the pivot table is created. A Create PivotTable window should appear. Drag Employee Name down to rows.
Select a table or range of data in your sheet and then select Insert PivotTable to open the Insert PivotTable pane. In Excel 2010 you can use PowerPivot to create a unique count Unfortunately a pivot table doesnt have a built-in function to calculate a unique count. Click the Insert Tab.
Your calculated field will be a SUM with formula flagb How can I make the field bebased on two flags not just one. Drag Month down to Rows. You can easily change the calculation type from Sum to one of the 11 different functions like count average maximum or minimum etc.
Check Existing Worksheet Location. Any non-blank field in the data can be used in the Values area to get a count. Change value field settings to show count if needed.
Add Color field Values area rename to Count Add Date field to Columns area group by Month. In this example weve chosen cells A1 to D13 in Sheet1 as indicated by Sheet1A1D13. Then add the Year field to the pivot table directly.