Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel Pivot Table - Count Blanks

Posted on 2014-04-17
4
Medium Priority
?
4,206 Views
Last Modified: 2014-04-17
I have a problem which involves counts in a Excel Pivot table.

I noticed that blank cells are not included in the count.  Is there a way around this?

I suspect I may need to add another column and populate the cell with something.  I'm asking for some tricks that may be useful in this case.  As you can see in the data, my column titled "Used" has Yes or No and blank entries.  I want to count the blank entries.  How to do that?

Pivot Table Results
Pivot Table Results
Pivot Table Data
Pivot Table Data
Pivot Table Design
Pivot Table DesignPivotBlankEntriesTest.xls
0
Comment
Question by:Jeff Darling
[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
  • 2
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
Flyster earned 2000 total points
ID: 40006999
It looks like you're counting the number of colors and not the fact whether they're used or not. In the attached I added a column to the data that gives a value of 1 to and non-blank cell and then added that to the pivot table.

Flyster
PivotBlankEntriesTest.xls
0
 
LVL 13

Author Comment

by:Jeff Darling
ID: 40007755
Thanks, yoru code gave me an idea.  I decided that I wanted "Undecided" if the entry is blank.  I need to count the blanks.

I add an If statement that checks to see if the entry is empty, if it is, then populate with "Undecided".  Otherwise, use that value.  

=IF(D3="","Undecided",D3)

Open in new window

0
 
LVL 13

Author Closing Comment

by:Jeff Darling
ID: 40007756
The answer led me to a solution that met my requirements.
Thanks for your assistance.
0
 
LVL 22

Expert Comment

by:Flyster
ID: 40007925
Thanks. Glad I could help!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
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 how to use longer labels with horizontal bar charts instead of the vertical column chart.

636 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