download excel workbookAVERAGE.xlsx
Table of Contents
STEP 1: Click in your data and go to Insert > Pivot Table
STEP 2: This will bring up the Create Pivot Table dialogue box and it will automatically select your data`s range or table.
In the Choose where you want the PivotTable report to be placed, you can either choose a New Worksheet or an Existing Worksheet.
If you choose a New Worksheet it will place the Pivot Table in a brand new worksheet (e.g. Sheet2).
If you decide to put the Pivot Table in an Existing Worksheet, you will need to select the location by pressing the red arrow, choosing the cell where you want your Pivot Table to be placed, and then pressing the ENTER key twice to confirm.
STEP 3: You will now need to drag and drop the Fields in the different areas of your Pivot Table
STEP 4:Now that your Pivot Table is set up, you need to Right Click in any of the Pivot Table values and choose Summarize Values By > Average
OR,
You can simply click on the arrow next to the Sum of Sales field mentioned in the Values Area and select Value Field Setting.
In the Value Field Setting dialog box, Select Average in the Summarize value by and Click OK.
STEP 5: Now you have your Pivot Table report showing the Average Sales values per Region for each year:
Many a time, when you are dealing with averages the result may end up with a different mixture of decimal places for different values.
It would be ideal to format the result for a better presentation. To do so:
STEP 1: Right Click on any value cell and select Value Field Setting.
STEP 2: In the Value Field Setting dialog box, select Number Format.
STEP 3: In the Format Cells dialog box, select Number under Category and type 2 for Decimal Places. Click OK.
STEP 4: Click OK.
All values in the Pivot Table will now have 2 decimal points. The numbers look more presentable and are easy to compare.
Understanding the ins and outs of Excel’s Pivot Tables can transform heaps of data into insightful reports. One powerful feature involves using Data Analysis Expressions (DAX) to create custom calculations, providing you with deeper analysis. For instance, explicit measures, such as Total Sales and Daily Average, allow you to tailor your data precisely to your needs. To get started, you simply right-click on the Table name in the Pivot Table Field List, select “Add Measure,” and input your formula like so: =SUM([Amount])
for Total Sales. This explicit mention spells out exactly what the calculation should be, and once created, these measures are easily reusable in other formulas or pivot tables, saving time and adding efficiency.
Diving deeper into your data’s story often means understanding the trends over time. Fortunately, Excel’s date grouping feature is just what you need to unravel this narrative. You can break down your data into years, quarters, and months by simply adding the Date field to the Rows area of your Pivot Table. Right-click on the dates and select “Group”, then choose the intervals that matter to you. By turning on subtotals, you’ll get a snapshot of each time segment’s performance at a glance.
Moreover, throw in the power of slicers, and you’ve got a dynamic tool that simplifies your interaction with complex data sets. Slicers can filter the data in your Pivot Table to hone in on specific periods or categories, providing an interactive element for your report.
When you group dates, consider also the fiscal calendar using the Calendar Table if your company’s financial year doesn’t align with the calendar year. It ensures your trends align with financial reporting standards.
Visualizing averages in your data becomes a breeze with the integration of Pivot Charts. Adding a Pivot Chart to display averages can help reveal key insights and trends that might not be as identifiable in raw data formats. To incorporate an average line in your Pivot Chart, you can follow these steps:
=AVERAGE($C$2:$C$15)
to calculate the average, drag down the fill handle to apply it to your data range.By now, your Average line should be visible on your Pivot Chart, providing a clear and immediate visual average across your data range. Here’s a sample of how a Pivot Chart looks like:
Pivot Tables are incredibly powerful, but they’re not without their quirks. Knowing how to navigate around common stumbling blocks ensures your experience with Pivot Tables remains frustration-free.
First up, remember that data cleanliness is next to Pivot godliness. Messy source data often leads to inaccurate Pivot Tables. This means ensuring your dataset is free from blank rows, correct data types are used, and consistent formatting is maintained. Avoid using multiple headers, and make sure each column in your data set has a unique name.
Another trap users fall into is not refreshing their Pivot Tables after data changes. Pivot Tables don’t automatically update when their source data does; you must remember to refresh them by right-clicking and selecting “Refresh,” or by using the refresh button on the PivotTable Tools | Analyze tab.
Sometimes, you might end up with duplicate values in your Pivot Table. This typically happens if your original data has duplicates or if you’ve accidentally counted values more than once within the data structure. A careful review and use of the “Remove Duplicates” feature in Excel’s Data tab can prevent this issue.
If your data range grows over time, you also need to expand the data range of your Pivot Table source. Otherwise, it won’t include new data in the analysis. You can sidestep this issue by converting your range into a table using the Table feature in Excel, ensuring the Pivot Table includes all current and future data without the need to manually adjust the range.
If you’re working with particularly large datasets, you may find your Pivot Table calculations taking longer than ideal. However, several strategies can help speed up these calculations and keep your workflow zipping along.
Following these strategies can significantly enhance your experience by making your Pivot Table interactions much snappier.
To kick off your journey with Pivot Tables in Excel, dive in by gathering some data you’d like to analyze. Once you’ve got your data:
Voila! You’ve created your first Pivot Table. Now, it’s time to explore by dragging and dropping fields to different parts of the PivotTable to start analyzing your data.
When it comes to displaying averages in a Pivot Table effectively:
It’s about maintaining data integrity and presenting your info in such a way that the ‘story’ behind the numbers becomes clear and actionable.
In addition to displaying averages, you can even show different calculation types such as count, maximum, minimum, product, and much more.
There are a lot more that you can do using Excel Pivot Table, Click here to know all about it!
John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.