If you need to analyze a data set, Microsoft Excel is the perfect tool for the job. More specifically, Pivot Tables for complex datasets make things easier.
If you need to analyze a data set, Microsoft Excel is the perfect tool for the job. You already know that Excel stores information within tables, but the power of the app is within the tools you can use to exploit the information hidden within those cells. One of those tools is a Pivot Table. We took a look at the feature back in Excel 2010, and in Excel 2016 we continue our look at how you can use it to manipulate and find data trends.
Creating a Pivot Table in Excel 2016
What is a Pivot Table?
A pivot table is a fancy name for sorting information. It’s ideal for calculating and summarizing information that you can use to break down large tables into just the right amount of information you need. You can use Excel to create a Recommended Pivot Table or create one manually. We look at both.
Recommended Pivot Table
Introduced in Excel 2013, a Recommended Pivot Table is a predesigned summary of your data that Excel recommends for you. You might not get the information you need depending on your data set, but for quick analysis, it can be handy. To create one, highlight the data source (the range of cells in the workbook that contains the data you want to analyze.) Then select the Insert tab, and then Recommended PivotTables.
When the Choose Data Source dialog appears, click OK.
A gallery of recommended PivotTable styles will appear that provides suggestions for how you might want to analyze the selected data. In the following example, I’ll go with the Count of Employee Name by Hours Worked in January. Yours will vary depending on the type of data you are sorting. Click OK.
As you can see in the Table below, I’m able to get an idea of how many persons worked a certain amount of hours in January. A scenario like this would be great to see who might be working the hardest, working overtime, and from which department within a company.
To make it more interesting, let’s dig in further and find out which employee is working the most. As you can see, the Pivot Table task pane appears on the right displaying additional tools I can use to sort and filter. For the following example, I am going to add the Hours Worked in January to the Filters area and add the employee name to the Row area. After doing that, you will notice a new field has been added to the sheet called Hours Worked in January.
When I click in the filter box, I can see the lowest and the highest. Let’s select highest which is 205, click OK. So an employee by the name of Philip worked the most hours in January. It doesn’t get any easier than that.
Create a PivotTable from Scratch
If you want more control over how your pivot table is designed, you can do it yourself using the standard Pivot Table tool. Again, select the data source or the range where the data is stored in the workbook and select Insert > PivotTable.
A Create PivotTable dialog appears with multiple options. Since I’m working with the data source from within the worksheet itself, I’ll leave the default. You can choose to add the Pivot Table to an existing worksheet or a new one. In this case, I’ll insert it in a new sheet.
You will notice a new sheet appears with suggestions about what you can do. In this particular scenario, I want to know how many hours worked by employees in Sales. To do that, I simply use Department to Filter down the list and add the other Tables to the Rows such as the Employee Name and a number of hours worked.
Click in the Department filter and click Sales and then OK.
Immediately I can see who worked the most. I added an extra field for overtime just to further analyze the information provided.
You should now have a good idea of how powerful Pivot Tables are, and how they can save time by sifting through data to find the exact information you need with little effort. For a small amount of data, this might be overkill, but for larger more complex datasets, it makes your job a whole lot easier.