Solved

How do I pivot for a column where no values are foound

Posted on 2013-05-16
5
170 Views
Last Modified: 2013-05-28
On the attached in the data tab I have sales figures that have categories for A, B, C, D, etc.  However, this month there were no values for category A, but I need ot show in the pivot (see pivot tab) there were no sales done for category A without having to do a lot of manual work each month.  In other words if next month there are only values for Category B, I wish to automate as much as possible that once the pivot runs it reflects 0 for Cat a, Cat C, Cat D, etc...

Please see attached...
ee-cat.xlsx
0
Comment
Question by:upobDaPlaya
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:helpfinder
ID: 39172312
Hi,
I am not sure if you need only Pivot as a solution. I prepared it for you another way.
I just created another table (next to yours) with all options (regions and Categories in rows and columns) and filled table with SUMIFS formula which sums your original table. In this way you have everything summed, also Categories you do not have in original table (of course with zeros)

please check attached sample
Copy-of-ee-cat.xlsx
0
 

Author Comment

by:upobDaPlaya
ID: 39173563
I like this solution quite a bit..any cautions I should be aware of if using SUMIFS...
0
 
LVL 19

Expert Comment

by:helpfinder
ID: 39173913
I do not know about any in this case
0
 
LVL 19

Accepted Solution

by:
helpfinder earned 500 total points
ID: 39173925
Just, but it is not SIMIFS problem  you have to expand manually the table if you get new region or category (add new row or column).
Also you have to have range in SUMIFS set in a way it covers whole original table values (now it is, but if you will add new records in original table you have to edit each formula - but it is not necessary to do every time new record is add, just add 1000 rows range at beginning and you are OK)
0
 

Author Closing Comment

by:upobDaPlaya
ID: 39201724
Awesome solution...thanks for your help and follow-up.  Apologies for the late grade.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question