Beginning Pivot Tables in Excel 2007

 

Your worksheet formulas can create traffic-light charts, highlight chart elements, assign number formats, and more.

 

Categories

 

Learn how to create Excel dashboards.

Pivot Table Summary Functions: Average

When you add a numeric data field to the Values area in a pivot table, the summary function defaults to either Sum or Count. You can change that field to use one of the other summary functions, such as Average.

The Average Function

The Average function in a pivot table works like the AVERAGE function on the worksheet to calculate the average (mean) of the values. It totals all the underlying values in the Values area, and divides by the number of values. 

pivottableaverage05 

You can use the Average function to compare amounts, such as order sizes, student grades, and project times, across a large number of instances.

Blanks and Zeros

Just as they are on the worksheet, blank cells are ignored when calculating the pivot table averages, but zero cells are included.

In the data source shown below, cell C7 is blank. That blank cell is not included in either the worksheet average (C12),

pivottableaverage01

or in the pivot table average, shown below.

pivottableaverage05 

Hidden Zeros

If you have formatted the worksheet to hide zero values, remember that those zero values will be included in the averages, even if the cells appear blank.

In the two data sources shown below, the overall average is different. Zeros are hidden on the worksheet, and cell F7 contains a zero. Cell C7 is blank.

pivottableaverage04

If you create pivot tables from these two data sources, the pivot table Average function would include the hidden zeros, just as the worksheet Average does.

Format the Results

When you use the Average summary function, the results will probably show a strange mixture of decimal places, as shown in the pivot table at the left, in the screen shot below.

pivottableaverage03

Format the field to have a consistent number of decimal places (as in the pivot table at the right, above), so the numbers are easy to compare.

pivottableaverage02

____________

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>