• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

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

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
upobDaPlaya
Asked:
upobDaPlaya
  • 3
  • 2
1 Solution
 
helpfinderIT ConsultantCommented:
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
 
upobDaPlayaAuthor Commented:
I like this solution quite a bit..any cautions I should be aware of if using SUMIFS...
0
 
helpfinderIT ConsultantCommented:
I do not know about any in this case
0
 
helpfinderIT ConsultantCommented:
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
 
upobDaPlayaAuthor Commented:
Awesome solution...thanks for your help and follow-up.  Apologies for the late grade.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now