Excel Pivot Table - Count Blanks

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
LVL 13
Jeff DarlingDeveloper AnalystAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
FlysterConnect With a Mentor Commented:
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
 
Jeff DarlingDeveloper AnalystAuthor Commented:
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
 
Jeff DarlingDeveloper AnalystAuthor Commented:
The answer led me to a solution that met my requirements.
Thanks for your assistance.
0
 
FlysterCommented:
Thanks. Glad I could help!
0
All Courses

From novice to tech pro — start learning today.