{"id":7952,"date":"2020-07-14T07:31:04","date_gmt":"2020-07-14T05:31:04","guid":{"rendered":"https:\/\/www.myexcelonline.com\/blog\/?p=7686"},"modified":"2024-02-06T16:00:01","modified_gmt":"2024-02-06T15:00:01","slug":"count-vs-sum-pivot-tables","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/count-vs-sum-pivot-tables\/","title":{"rendered":"Sum vs Count in Pivot Table"},"content":{"rendered":"<h3>Sum vs Count in Pivot Table<\/h3>\n<p>Ever faced the problem &#8211; T<em>he values show as a Count of rather than a Sum in a <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\" title=\"Pivot Table\" data-wpil-keyword-link=\"linked\">Pivot Table<\/a>?<\/em><\/p>\n<p>This is one of the most common complaints encountered when dealing with <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\" title=\"Pivot Tables\" data-wpil-keyword-link=\"linked\">Pivot Tables<\/a>.<\/p>\n<p>In this article, you will be provided a detailed guide on:<\/p>\n<ul>\n<li><strong><a href=\"#summarize-value-as-sum-count-in-pivot-table\">Summarize value as SUM, COUNT in Pivot Table<\/a><\/strong><\/li>\n<li><strong><a href=\"#why-the-pivot-table-values-show-as-count-instead-of-sum\">Why the Pivot Table values show as Count instead of Sum<\/a><\/strong><\/li>\n<li><strong><a href=\"#how-to-fix-this-issue\">How to fix this issue<\/a><\/strong><\/li>\n<li><strong><a href=\"#conclusion\">Conclusion<\/a><\/strong><\/li>\n<\/ul>\n<p>Let&#8217;s go through each of these points one-by-one!<\/p>\n<p>&nbsp;<\/p>\n<h3><a id=\"summarize-value-as-sum-count-in-pivot-table\"><\/a>Summarize value as SUM, COUNT in Pivot Table<\/h3>\n<p>Pivot Table in Excel is one of the most powerful features within Excel that allows you to analyze more than 1 million rows of data with just a few mouse clicks.<\/p>\n<p>Let&#8217;s explore the power of analyzing using a Pivot Table with the help of an example.<\/p>\n<p>In the table below, you have sales data containing salesperson name, region, order date and sales amount.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-268.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18542\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-268.png\" alt=\"Sum vs Count in Pivot Table\" width=\"592\" height=\"396\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-268.png 592w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-268-300x201.png 300w\" sizes=\"(max-width: 592px) 100vw, 592px\" \/><\/a><\/p>\n<p>Using this data, you can create a Pivot Table that tells you the number of sales achieved by each salesperson. Follow the steps below to calculate Pivot Table sum.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:\u00a0<\/strong><\/span>Select the <strong>Data Table<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-275.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18543\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-275.png\" alt=\"Sum vs Count in Pivot Table\" width=\"1209\" height=\"457\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-275.png 1209w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-275-300x113.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-275-1024x387.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-275-768x290.png 768w\" sizes=\"(max-width: 1209px) 100vw, 1209px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2: <\/strong><\/span>Go to <strong>Insert<\/strong> &gt; <strong>Pivot Table<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-270.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18544\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-270.png\" alt=\"Sum vs Count in Pivot Table\" width=\"738\" height=\"127\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-270.png 738w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-270-300x52.png 300w\" sizes=\"(max-width: 738px) 100vw, 738px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3: <\/strong><\/span>In the <strong>Create PivotTable<\/strong> dialog box, Excel will automatically select the table for you and the default location will be <strong>New Worksheet. <\/strong>Press <strong>OK.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-271.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18546\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-271.png\" alt=\"Sum vs Count in Pivot Table\" width=\"387\" height=\"346\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-271.png 387w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-271-300x268.png 300w\" sizes=\"(max-width: 387px) 100vw, 387px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/strong><\/span>PivotTable panel will be created in a new worksheet.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-272-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18548\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-272-1.png\" alt=\"Sum vs Count in Pivot Table\" width=\"1355\" height=\"465\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-272-1.png 1355w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-272-1-300x103.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-272-1-1024x351.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-272-1-768x264.png 768w\" sizes=\"(max-width: 1355px) 100vw, 1355px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5: <\/strong><\/span>You can drag and drop the <strong>Sales Person<\/strong> field under <strong>Row<\/strong> area and <strong>Sales<\/strong> field under the <strong>Values <\/strong>area.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-273.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18549\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-273.png\" alt=\"Sum vs Count in Pivot Table\" width=\"349\" height=\"470\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-273.png 349w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-273-223x300.png 223w\" sizes=\"(max-width: 349px) 100vw, 349px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6: <\/strong><\/span>Below is the Pivot Table that summarizes the total sales amount by each salesperson.<\/p>\n<h3><strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-276.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-276.png\" alt=\"Sum vs Count in Pivot Table\" width=\"369\" height=\"225\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-276.png 369w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-276-300x183.png 300w\" sizes=\"(max-width: 369px) 100vw, 369px\" \/><\/a><\/strong><\/h3>\n<p>By <strong>default<\/strong>, Pivot Table shows the<strong> summation<\/strong> of the sales amount. You can easily change the calculation type from Sum to one of the 11 different functions (like count, average, maximum or minimum, etc).<\/p>\n<p><strong>Right-click<\/strong> on the Pivot Table and select <strong>Summarize Value By<\/strong> &gt; <strong>Count<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-277.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18551\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-277.png\" alt=\"Sum vs Count in Pivot Table\" width=\"592\" height=\"466\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-277.png 592w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-277-300x236.png 300w\" sizes=\"(max-width: 592px) 100vw, 592px\" \/><\/a><\/p>\n<p>The summarization has now changed from Sum to Count Pivot Table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18553\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278.png\" alt=\"Sum vs Count in Pivot Table\" width=\"379\" height=\"226\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278.png 379w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278-300x179.png 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<h3><strong><a id=\"why-the-pivot-table-values-show-as-count-instead-of-sum\"><\/a>Why the Pivot Table values show as Count instead of Sum<\/strong><\/h3>\n<p>As you have seen in the previous section when you drag and drop an item in the Value field, it automatically shows the sum of the value.<\/p>\n<p>But if it shows Count instead of Sum. Well, there are <strong>three\u00a0reasons<\/strong> why this is the case:<\/p>\n<p>1. There are blank cells in your values column within your data set; or<\/p>\n<p>2. There are &#8220;text&#8221; cells in your values column within your data set; or<\/p>\n<p>3. A <em>Values<\/em> field is Grouped within your Pivot Table.<\/p>\n<h4><span style=\"color: #ff0000;\">1. BLANK\u00a0CELL(S):<\/span><\/h4>\n<p>So if you have at least one blank cell in a <em>Values<\/em> column, Excel automatically thinks that the whole column is text-based. \u00a0Pretty stupid but that&#8217;s the way it thinks.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/blank-cells.jpg\" rel=\"attachment wp-att-2797\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 3 Excel Pivot Table Issues Resolved\"  class=\"alignnone size-full wp-image-2797\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/blank-cells.jpg\" alt=\"Top 3 Excel Pivot Table Issues Resolved\" width=\"676\" height=\"332\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/blank-cells.jpg 676w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/blank-cells-300x147.jpg 300w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff0000;\">2. TEXT\u00a0CELL(S):<\/span><\/h4>\n<p>Also if you have a cell that is formatted as <em>Text\u00a0<\/em>within your <em>Values<\/em> column, then it will also cause it to <em>Count<\/em> rather than <em>Sum<\/em>. \u00a0This usually happens when you download data from your ERP or external system and it throws in numbers that are formatted as text e.g. 382821P<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/TEXT-CELL.jpg\" rel=\"attachment wp-att-2798\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 3 Excel Pivot Table Issues Resolved\"  class=\"alignnone size-full wp-image-2798\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/TEXT-CELL.jpg\" alt=\"Top 3 Excel Pivot Table Issues Resolved\" width=\"658\" height=\"284\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/TEXT-CELL.jpg 658w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/TEXT-CELL-300x129.jpg 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/a><\/p>\n<p>We get the annoying Sales Count in Pivot table below:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/count-of-sales.jpg\" rel=\"attachment wp-att-2800\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 3 Excel Pivot Table Issues Resolved\"  class=\"alignnone size-full wp-image-2800\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/count-of-sales.jpg\" alt=\"Top 3 Excel Pivot Table Issues Resolved\" width=\"503\" height=\"481\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/count-of-sales.jpg 503w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/count-of-sales-300x287.jpg 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4><span style=\"color: #ff0000;\">3. GROUPED VALUES:<\/span><\/h4>\n<p>Let&#8217;s say that you put\u00a0a <em>Values<\/em> field (e.g. Sales) in the Row\/Column Labels and then you Group it.<\/p>\n<p>When you drop in the same <em>Values<\/em> field in the <em>Values<\/em> area, you will also get a<em> Count of&#8230;<\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sales-1.jpg\" rel=\"attachment wp-att-2836\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 3 Excel Pivot Table Issues Resolved\"  class=\"alignnone size-full wp-image-2836\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sales-1.jpg\" alt=\"Top 3 Excel Pivot Table Issues Resolved\" width=\"603\" height=\"479\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sales-1.jpg 603w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sales-1-300x238.jpg 300w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/a><\/p>\n<p>PivotTable basically has a set of rules which is very simple &#8211; If all the cells in the field selected contains number, the calculation type will default to SUM.<\/p>\n<p>Now that you know the reason for the error, let&#8217;s learn how to fix it!<\/p>\n<h3><strong><a id=\"how-to-fix-this-issue\"><\/a>How to fix this issue<\/strong><\/h3>\n<p>If you can clean up your data and make sure there are no cells that contain a blank, text, error, or grouped data. This will prevent the default calculation type to turn to Count in Pivot Table instead of Sum.<\/p>\n<p>There are 4 ways to make sure that calculation type is set to Sum:<\/p>\n<h4><span style=\"color: #ff0000;\">METHOD 1:<\/span> Replace Blank with Zero<\/h4>\n<p>Sales column in this data table contains blank cells. Let&#8217;s use this table to create a pivot table that summarises the total sales amount by each salesperson.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18558\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280.png\" alt=\"Sum vs Count in Pivot Table\" width=\"744\" height=\"442\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280.png 744w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280-300x178.png 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/a><\/p>\n<p>When you drag and drop the Sales column to the Values area, it shows the Sales Count in Pivot Table instead of sum.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18553\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278.png\" alt=\"Sum vs Count in Pivot Table\" width=\"379\" height=\"226\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278.png 379w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-278-300x179.png 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<p>To show the summation of the sales instead of Excel Pivot Table count, you can replace the blank cells with zero.<\/p>\n<p>If all the cells in the column field contains numbers, the calculation type will default to SUM.<\/p>\n<p>Follow the steps below to replace blank with zero:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:\u00a0<\/strong><\/span>Select the<strong> entire column<\/strong> that contains a blank. Press <strong>Ctrl + Space Bar<\/strong> to select the entire column.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18558\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280.png\" alt=\"Sum vs Count in Pivot Table\" width=\"744\" height=\"442\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280.png 744w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-280-300x178.png 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2: <\/strong><\/span>Press <strong>Ctrl + H<\/strong> to open the <strong>Find and Replace <\/strong>dialog box.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-281.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18559\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-281.png\" alt=\"Sum vs Count in Pivot Table\" width=\"442\" height=\"193\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-281.png 442w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-281-300x131.png 300w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3: <\/strong><\/span>Delete everything in the <strong>Find what<\/strong> box and type 0 in <strong>Replace with<\/strong> box.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-282.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18560\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-282.png\" alt=\"Sum vs Count in Pivot Table\" width=\"441\" height=\"194\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-282.png 441w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-282-300x132.png 300w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/strong><\/span>Press <strong>Replace All<\/strong>. This will replace all the blank cells with 0.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-283.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18561\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-283.png\" alt=\"Sum vs Count in Pivot Table\" width=\"765\" height=\"458\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-283.png 765w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-283-300x180.png 300w\" sizes=\"(max-width: 765px) 100vw, 765px\" \/><\/a><\/p>\n<p>Now you can create a Pivot Table as all the values will contain a number!<\/p>\n<h4><span style=\"color: #ff0000;\">METHOD 2:<\/span> Replace Error with Zero<\/h4>\n<p>To replace the error message with zero, you can add an <strong>IFERROR <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" title=\"formula\" data-wpil-keyword-link=\"linked\">formula<\/a><\/strong>.<\/p>\n<p>IFERROR function is used to <strong>display custom text<\/strong> when a formula generates an error, and a standard result when no error is detected.<\/p>\n<p>It has two arguments &#8211; <strong>value<\/strong> and <strong>value_if_error<\/strong>.<\/p>\n<ul>\n<li><strong>Value &#8211;<\/strong> Value to be used to check error.<\/li>\n<li><strong>Value_if_error &#8211;<\/strong> Value to be displayed if an error.<\/li>\n<\/ul>\n<p>So if the source column contains an error, you can use the IFERROR formula to return a zero instead of the error.<\/p>\n<h4><span style=\"color: #ff0000;\">METHOD 3:<\/span> Convert Text to Numbers<\/h4>\n<p>If a cell contains numbers but is stored as text, you will have to convert it.<\/p>\n<p>To do that click on the<strong> small yellow icon<\/strong> on the left, and select <strong>Convert to Number<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-285.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Sum vs Count in Pivot Table\"  class=\"alignnone size-full wp-image-18562\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-285.png\" alt=\"Sum vs Count in Pivot Table\" width=\"447\" height=\"227\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-285.png 447w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Screenshot-285-300x152.png 300w\" sizes=\"(max-width: 447px) 100vw, 447px\" \/><\/a><\/p>\n<h4><span style=\"color: #ff0000;\">METHOD 4:<\/span> Ungroup values in the Pivot Table<\/h4>\n<p><strong><span style=\"color: #ff0000;\">STEP\u00a01:<\/span><\/strong> Right Click on the Grouped values in the Pivot Table and choose <strong>Ungroup<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/ungroup-1.jpg\" rel=\"attachment wp-att-2819\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 3 Excel Pivot Table Issues Resolved\"  class=\"alignnone size-full wp-image-2819\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/ungroup-1.jpg\" alt=\"Top 3 Excel Pivot Table Issues Resolved\" width=\"269\" height=\"442\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/ungroup-1.jpg 269w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/ungroup-1-183x300.jpg 183w\" sizes=\"(max-width: 269px) 100vw, 269px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> <strong>Drag the <em>Count of SALES<\/em> out<\/strong> of the Values area and let go to remove it<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> <strong>Drop in the SALES field<\/strong> in the Values area once again<\/p>\n<p>It\u00a0will now show a <em>Sum of SALES<\/em>!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sum-of.jpg\" rel=\"attachment wp-att-2821\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Top 3 Excel Pivot Table Issues Resolved\"  class=\"alignnone size-full wp-image-2821\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sum-of.jpg\" alt=\"Top 3 Excel Pivot Table Issues Resolved\" width=\"675\" height=\"481\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sum-of.jpg 675w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/grouped-sum-of-300x214.jpg 300w\" sizes=\"(max-width: 675px) 100vw, 675px\" \/><\/a><\/p>\n<p><strong>N.B<\/strong>. Sometimes you will need to locate the Pivot Table that has the Grouped values. \u00a0The SALES field may not be evident that it is Grouped, especially if it is not selected in the Row\/Column labels.<\/p>\n<p>You may need to drag and drop this field from the <em>PivotTable Fields<\/em> and into the Row\/Column Labels area to confirm that it is Grouped.<\/p>\n<h3><strong><a id=\"conclusion\"><\/a>Conclusion<\/strong><\/h3>\n<p>In this article, you have learned how to summarize value in Pivot Table and how to make the Sum as default calculation type instead of Count when all values in the column contains numbers.<\/p>\n<p><em>To unveil other powerful features of Excel Pivot Table, <strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener noreferrer\">Click Here<\/a>.<\/strong><\/em><\/p>\n<p><span style=\"color: #000000;\"><strong>Further Learning:<\/strong><\/span><\/p>\n<ul>\n<li><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/clean-data-set\/\" target=\"_blank\" rel=\"noopener\">Clean Data Set for Pivot Table<\/a><\/li>\n<li><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/prepare-data-for-pivot-tables\/\" target=\"_blank\" rel=\"noopener\">Prepare Data for Excel Pivot Tables<\/a><\/li>\n<li><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/move-and-remove-fields-and-items\/\" target=\"_blank\" rel=\"noopener\">Move and Remove Fields and Items in Excel Pivot Tables<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/myexcelonline.thinkific.com\/courses\/pivottable-enroll\" target=\"_blank\" rel=\"attachment wp-att-1080 noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1080 size-full\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/728x90.gif\" alt=\"Automatically Refresh a Pivot Table\" width=\"728\" height=\"90\" title=\"\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sum vs Count in Pivot Table Ever faced the problem &#8211; The values show as a Count of rather than a Sum in a Pivot Table? This is one of the most common complaints encountered when dealing with Pivot Tables. In this article, you will be provided a detailed guide on: Summarize value as SUM, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7997,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[4,42],"tags":[326,672,139,353],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/7952"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=7952"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/7952\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/7997"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=7952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=7952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=7952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}