Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 211
Default count blanks in pivot table

How can I count blank cells in a pivot table?
I have a table which socres physical activity of patients and have made a
pivot table based on that.
Pivot table counts very well the cells which has values, but it igonores the
cells where there are no values. So how can I ask pivot table to consider
blank cells as well?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default count blanks in pivot table

Can't do it directly, but there is an easy workaround.


Say column A has in cells A1 thru A12:

table
hat
hat

cat

bat
bat

rat
rat
rat

making a pivot table displays:

Count of table
table Total
bat 2
cat 1
hat 2
rat 3
(blank)
Grand Total 8

and the "real" blanks are not counted. Next to the PT, we can use the
formula:

=COUNTIF(A:A,"") which displays 3

This formula, which counts the blanks, is useful because it specifically
excludes all the blanks from A13 thru A65536


So the answer is to use the PT and an additional cell to display the empties.
--
Gary''s Student - gsnu200738
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default count blanks in pivot table

In the Row area of the pivot table, add the field that you want to count
In the data area, add a different field, such as patient name, that will
always contain a value.
This will give you the count of records that have a blank in the field
that's in the row area.


Khoshravan wrote:
How can I count blank cells in a pivot table?
I have a table which socres physical activity of patients and have made a
pivot table based on that.
Pivot table counts very well the cells which has values, but it igonores the
cells where there are no values. So how can I ask pivot table to consider
blank cells as well?




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 211
Default count blanks in pivot table

Thanks for replies. I think I couldn't express my question clearly. I found
the answer to my question in the following link:
http://www.mrexcel.com/archive2/35200/40546.htm
The blank cells reside on the count of patient column of the PT not on the
row area.
The solution is that to select al blank cells in this area and replace them
with "" and then the blank column header will be counted.
Thanks for your replies.


"Debra Dalgleish" wrote:

In the Row area of the pivot table, add the field that you want to count
In the data area, add a different field, such as patient name, that will
always contain a value.
This will give you the count of records that have a blank in the field
that's in the row area.


Khoshravan wrote:
How can I count blank cells in a pivot table?
I have a table which socres physical activity of patients and have made a
pivot table based on that.
Pivot table counts very well the cells which has values, but it igonores the
cells where there are no values. So how can I ask pivot table to consider
blank cells as well?




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I stop showing "blanks" in a pivot table? Borianita Excel Discussion (Misc queries) 2 April 30th 08 05:50 PM
Pivot Table Blanks not displaying properly? D. Verdugo Excel Discussion (Misc queries) 1 July 4th 07 02:14 AM
Pivot Table Count JohnV Excel Discussion (Misc queries) 3 November 16th 06 12:01 AM
How do I fill in pivot table blanks? Lisan Excel Worksheet Functions 1 July 3rd 06 09:11 PM
The last row of a pivot table shows blanks, but there is data. D May Excel Worksheet Functions 1 May 25th 06 01:30 PM


All times are GMT +1. The time now is 04:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"