{"id":416,"date":"2017-09-25T15:45:18","date_gmt":"2017-09-25T20:45:18","guid":{"rendered":"https:\/\/www.onlc.com\/blog\/?p=416"},"modified":"2017-09-25T15:45:18","modified_gmt":"2017-09-25T20:45:18","slug":"creating-excel-pivottables-analyze-data","status":"publish","type":"post","link":"https:\/\/www.onlc.com\/blog\/creating-excel-pivottables-analyze-data\/","title":{"rendered":"Creating Excel PivotTables to Analyze Data"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">PivotTables are a powerful feature included in Microsoft Excel that allows you to quickly extract the meaning from very large data sets. They do this by including tools and functions that analyze large amounts of data. Let\u2019s look at how to create <\/span><a href=\"https:\/\/www.onlc.com\/excel-training-classes-certification.htm\" target=\"_blank\"><span style=\"font-weight: 400;\">Excel PivotTables<\/span><\/a><span style=\"font-weight: 400;\"> as well as how we can use them to greatly enhance and speed up data analysis.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Creating a PivotTable<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">You will generally want to create a PivotTable in a new worksheet inside the spreadsheet containing your data set. You can do this by clicking on any cell inside your data set, but an easy starting point can be cell A1. Click the Insert menu on the toolbar at the top of the screen. Next, click the PivotTable menu item to start the PivotTable designer. The PivotTable designer will provide you a list of all of the columns in your data set. <\/span><\/p>\n<h2><span style=\"font-weight: 400;\">PivotTable Fields and Values<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Below the list of fields, you will have four boxes that you can drag these fields to in order to build your PivotTable. The four areas are rows, values, columns and filters. The functionality that is performed by dropping fields into these boxes is different for each box.<\/span><\/p>\n<h3><b><b>Rows<\/b><\/b><\/h3>\n<p>When you drop a field into the Rows box, this becomes the first column in your PivotTable. It contains all of the unique values contained in that field.<\/p>\n<h3><b><b>Values<\/b><\/b><\/h3>\n<p>Dragging a field into this box will count or sum all of the values in that field. If the field is numeric, then the values will be summed. If they are blank or text-based, then the count will be calculated for that field. The calculation can be changed by selecting other functions later on if these are not the desired numbers you\u2019re looking for. The values will also be grouped according to the rows you have selected. So, now you have performed a calculation on a field and it is grouped into categories that correspond to the values in another field. This is a very powerful query that was performed in a matter of seconds.<\/p>\n<h3><b><b>Columns\u00a0<\/b><\/b><\/h3>\n<p>The columns box is similar to the Rows box, but it lists the unique values of a field across the top of the worksheet instead of down the left side like Rows do. By using both the Rows and Columns feature you can further segment your data because now you have two related groupings. For example, you could summarize the total population of states by county. This is a perfect data set with which to build a graph because now you have two axes of data that can be graphed.<\/p>\n<h3><b><b>Filters<\/b><\/b><\/h3>\n<p>The last query method is Filters. This lets you further constrain the data to present an exact result. Using the example above from the Columns section, you could easily in a matter of minutes report the total population by county of each state for a specific year by specifying the year contained in a field that contains the date when the data was collected. You simply drag that field into the Filters box and then select which value you wish to summarize. In this case, it would be the specific year you are interested in knowing the total population of each count in each state.<\/p>\n<h2><span style=\"font-weight: 400;\">PivotTable Data Types<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The most useful data types in PivotTables can be text, numeric or DateTime fields. Columns containing mixed data type values can\u2019t be summed in the Values box when creating your PivotTable because all of the values have to be numeric. The organization of your data is very important. Here are some data organization tips.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">All fields need to have clearly defined data types. <\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">They also need to have unique, easily understood field titles or headers. <\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Avoid blank cells so your formulas won\u2019t get corrupted.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Remove any formulas in your columns as they could be included in any field calculations.<\/span><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">PivotTables Versus Spreadsheets<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Spreadsheets are containers for data. PivotTables can be used to summarize that data. It\u2019s better to have clean, organized data in your spreadsheet so that the PivotTable will have a pure data set on which to perform its magic. Spreadsheets are great for performing calculations and obtaining facts and figures as well as performing statistical analysis and charting. PivotTables help you quickly draw out the meaning of the data and can be easily manipulated to extract different pieces of information from larger data sets.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A simple ad-hoc PivotTable can be created quite easily by someone with only minimal knowledge of Excel and the basic organization of data. However, if you really want to become an expert at using PivotTables, you can obtain training. There\u2019s no easier or better way to get that valuable training than using an online training provider such as ONLC. <\/span><a href=\"https:\/\/www.onlc.com\/contact-onlc.htm\" target=\"_blank\"><span style=\"font-weight: 400;\">Contact us today<\/span><\/a><span style=\"font-weight: 400;\"> to begin your voyage to becoming a data analysis wizard. <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PivotTables are a powerful feature included in Microsoft Excel that allows you to quickly extract the meaning from very large data sets. They do this by including tools and functions that analyze large amounts of data. Let\u2019s look at how to create Excel PivotTables as well as how we can use them to greatly enhance [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":417,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-416","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-excel"],"aioseo_notices":[],"modified_by":"blogadmin","_links":{"self":[{"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/posts\/416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/comments?post=416"}],"version-history":[{"count":3,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/posts\/416\/revisions"}],"predecessor-version":[{"id":420,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/posts\/416\/revisions\/420"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/media\/417"}],"wp:attachment":[{"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/media?parent=416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/categories?post=416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onlc.com\/blog\/wp-json\/wp\/v2\/tags?post=416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}