?
Solved

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

Posted on 2013-05-16
5
Medium Priority
?
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

777 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