Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I stop showing "blanks" in a pivot table? | Excel Discussion (Misc queries) | |||
Pivot Table Blanks not displaying properly? | Excel Discussion (Misc queries) | |||
Pivot Table Count | Excel Discussion (Misc queries) | |||
How do I fill in pivot table blanks? | Excel Worksheet Functions | |||
The last row of a pivot table shows blanks, but there is data. | Excel Worksheet Functions |