Solved

Excel Pivot Table - Count Blanks

Posted on 2014-04-17
4
3,822 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
  • 2
  • 2
4 Comments
 
LVL 22

Accepted Solution

by:
Flyster earned 500 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 12

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 12

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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

685 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