Link to home
Start Free TrialLog in
Avatar of Jeff Darling
Jeff DarlingFlag for United States of America

asked on

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
User generated image
Pivot Table Data
User generated image
Pivot Table Design
User generated imagePivotBlankEntriesTest.xls
ASKER CERTIFIED SOLUTION
Avatar of Flyster
Flyster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeff Darling

ASKER

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

The answer led me to a solution that met my requirements.
Thanks for your assistance.
Thanks. Glad I could help!