Home and Learn: Microsoft Excel Course
This tutorial continues from the previous part.
The reason why the scores from our Pivot Table are so strange is because Excel is using the wrong formula. It's using a Sum total when we want it to use an Average.
Here's the Pivot Table so far:
The numbers have all been added up. But we want averages, instead. To change the formula, click on Sum of Score under the Values field area:
You'll see the following menu:
Select, Field Settings (or Value Field Settings in Excel 2010 to 2016). You'll then see the following dialogue box:
Change the Formula from Sum to Average, and then click OK. Your Average formula won't be formatted to any decimal places. So highlight you data. On the Home tab in Excel, locate the Number panel. Format your Averages so that it has no decimal places. Your Pivot Table will then look like this:
Look at cells A3, B3 and A4 above. These all have the not very descriptive names of Average of Score, Column Labels, and Row Labels. You can click inside of these cells and type your own headings, in exactly the same way as you would to enter text in a normal cell.
In the new version of the Pivot Table below, we have renamed these cells. We've also centred the data.
Click anywhere on your Pivot Table to highlight it. Now look at the Ribbon at the top of Excel . You'll notice a Design menu. Click on this to see the various design options.
The Pivot Table Style Options panel is interesting.
Select Banded Rows and see what happens. Now click Banded Columns.
Next to this panel, there are lots of Pivot Table Styles to choose from. Select one that catches your eye. Here's our finished Pivot Table again, only with a different Style:
And here's the original:
There's a lot more you can do with Pivot Tables, but we hope that this introduction has whetted your appetite! But click the dropdown boxes on your Pivot table and play around with them. Change the values you see on the various lists for Student, Subject, and Month.
In the next section, you'll learn how to reference other Excel worksheets.
Email us: enquiry at homeandlearn.co.uk