Solved

Excel Pivot Table - Count Blanks

Posted on 2014-04-17
4
3,591 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
Comment Utility
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
Comment Utility
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
Comment Utility
The answer led me to a solution that met my requirements.
Thanks for your assistance.
0
 
LVL 22

Expert Comment

by:Flyster
Comment Utility
Thanks. Glad I could help!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Photo Albums in PowerPoint Photo Albums are a very useful tool in PowerPoint and allow you quickly add a large number of images. The images can be formatted in a variety of ways so that you are able to create a professional looking presentation v…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

762 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

8 Experts available now in Live!

Get 1:1 Help Now