?
Solved

Excel Pivot Table - Count Blanks

Posted on 2014-04-17
4
Medium Priority
?
4,076 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

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