Solved

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

Posted on 2013-05-16
5
133 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now