Difference between revisions of "Manuals/calci/COUNTBLANK"

From ZCubes Wiki
Jump to navigation Jump to search
Line 38: Line 38:
 
| class="sshl_f" | 16
 
| class="sshl_f" | 16
 
| class="sshl_f" | 0
 
| class="sshl_f" | 0
| class="sshl_f" |
+
| class="sshl_f" | TRUE
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
|- class="even"
 
| class="sshl_f" |
 
| class="sshl_f" |
| class="ssh1_f" | 30
+
| class="ssh1_f" | 4/4/2011
| class="sshl_f" |
+
| class="sshl_f" | 0
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
|- class="odd"
 
| class="sshl_f" | 4
 
| class="sshl_f" | 4
 
| class="sshl_f " | 14
 
| class="sshl_f " | 14
| class="sshl_f" |
+
| class="sshl_f" |=IF(C3=0,"",C3)
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
|- class="even"

Revision as of 16:31, 6 November 2013

COUNTBLANK(r)

  • Where r is the range of cells.
  • COUNTBLANK() returns the number of empty cells or blank cells within a given range.

Description

COUNTBLANK(r)

For example, COUNTBLANK(23,45,,"EVEN") returns 1 as a result.

COUNTBLANK(56,"","4/4/2013",,TRUE) returns 2 as a result.

  • This function calculates empty cells or blank values in a particular range of cells.
  • Cells with empty texts are counted but cells with zero values are not counted.
  • COUNTBLANK() also calculates the cells with formulas that return an empty text ("").


Examples

Consider the following table with different types of data in various columns.

COUNTBLANK() counts the number of blank or empty cells in the given range.

5 3
16 0 TRUE
4/4/2011 0
4 14 =IF(C3=0,"",C3)