Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

910 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

21 Experts available now in Live!

Get 1:1 Help Now