Difference between revisions of "Manuals/calci/COUNTBLANK"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font size="3"><font face="Times New Roman">COUNTBLANK (r)</font></font> <font size="3"><font face="Times New Roma...")
 
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''COUNTBLANK ()'''</div><br/>
 +
*Parameter is the range of cells or array of data.
 +
**COUNTBLANK(), counts the number of blank cells within a range.
  
<font size="3"><font face="Times New Roman">COUNTBLANK (r)</font></font>
+
== Description ==
  
<font size="3"><font face="Times New Roman">Where r the range to count the blank cells.</font></font>
+
COUNTBLANK()
 +
*Data may contain numbers, characters, text, dates, logic values, error values, empty text or blank cells etc.
 +
*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 ("").
 +
*COUNT() can be used to count the non-empty or non-blank cells in the given range except logical values, error values and 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.
 +
 
 +
<div id="2SpaceContent" class="zcontent" align="left">
 +
 
 +
{| id="TABLE3" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="sshl_f" |
 +
| class="sshl_f" | 5
 +
| class="sshl_f" | 3
 +
 
 +
|- class="odd"
 +
| class="sshl_f" | 16
 +
| class="sshl_f" | 0
 +
| class="sshl_f" | TRUE
 +
 
 +
|- class="even"
 +
| class="sshl_f" |
 +
| class="ssh1_f" | 4/4/2011
 +
| class="sshl_f" | 0
 +
 
 +
|- class="odd"
 +
| class="sshl_f" | 4
 +
| class="sshl_f " | 14
 +
| class="sshl_f" |=IF(C3=0,"",C3)
 +
|}
 +
 
 +
<div id="5SpaceContent" class="zcontent" align="left">
 +
 
 +
 
 +
=COUNTBLANK(A1:A4)  : Counts the number of cells with blank values or empty cells in the range A1 to A4, ''returns 2'' as a result.
 +
 
 +
 
 +
=COUNTBLANK(A1:A4,5,"")  : Counts the number of cells with blank values or empty cells in the range A1 to A4,a number '5' and blank ("") ''returns 3'' as a result.
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
<font size="3"><font face="Times New Roman">This function calculates empty cells in a particular range of cells.</font></font>
+
=COUNTBLANK(B2:B4)  : Counts the number of cells with blank values or empty cells in the range B2 to B4, ''returns 0'' as a result. value '0' in B2 cell is    considered as a non-blank value.
  
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
<font size="3"><font face="Times New Roman">Cells with empty texts are counted but cells with zero values are not counted.</font></font>
+
=COUNTBLANK(C1:C4)  : Counts the number of cells with blank values or empty cells in the range C1 to C4, ''returns 1'' as a result. The IF() function returns a blank value in cell C4.
  
 
</div>
 
</div>
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">COUNTBLANK</div></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left"><font size="3"><font face="Times New Roman">''' <font size="3"><font face="Times New Roman">AVEDEV (N1, N2...)</font></font> <font size="3"><font face="Times New Roman">Where N1, N 2 ...   are positive integers.</font></font> '''</font></font></div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left"><font size="3">
 
  
Let’s see an example
+
== Related Videos ==
 +
 
 +
{{#ev:youtube|E47htlup2Lo|280|center|COUNTBLANK}}
  
COUNTBLANK (N, D)
 
  
B C
+
== See Also ==
  
5
+
*[[Manuals/calci/COUNT| COUNT]]
  
16 =IF (C4&lt;40,"", C4)
+
*[[Manuals/calci/COUNTA | COUNTA]]
  
30
+
*[[Manuals/calci/COUNTIF | COUNTIF]]
  
4 14
+
==References==
  
<nowiki>=COUNTBLANK (B2:C5) is 3</nowiki>
+
*[http://en.wikipedia.org/wiki/Aggregate_function List of Aggregate Functions]
 +
*[http://en.wikipedia.org/wiki/Aggregate_function COUNTBLANK]
  
</font></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
  
{| id="TABLE3" class="SpreadSheet blue"
+
*[[Z_API_Functions | List of Main Z Functions]]
|- class="even"
 
| class="  SelectTD ChangeBGColor SelectTD" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]</div>
 
| Column1
 
| class="  " | Column2
 
| class="  " | Column3
 
| class="  " | Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f " |
 
| class="sshl_f" | 5
 
| class="sshl_f" | 3
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f  " | 16
 
| class="sshl_f" | 0
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f" |
 
| class=" " | 30
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f      " | 4
 
| class="sshl_f " | 14
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 16:45, 7 August 2018

COUNTBLANK ()


  • Parameter is the range of cells or array of data.
    • COUNTBLANK(), counts the number of blank cells within a range.

Description

COUNTBLANK()

  • Data may contain numbers, characters, text, dates, logic values, error values, empty text or blank cells etc.
  • 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 ("").
  • COUNT() can be used to count the non-empty or non-blank cells in the given range except logical values, error values and 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)


=COUNTBLANK(A1:A4) : Counts the number of cells with blank values or empty cells in the range A1 to A4, returns 2 as a result.


=COUNTBLANK(A1:A4,5,"") : Counts the number of cells with blank values or empty cells in the range A1 to A4,a number '5' and blank ("") returns 3 as a result.


=COUNTBLANK(B2:B4) : Counts the number of cells with blank values or empty cells in the range B2 to B4, returns 0 as a result. value '0' in B2 cell is considered as a non-blank value.


=COUNTBLANK(C1:C4) : Counts the number of cells with blank values or empty cells in the range C1 to C4, returns 1 as a result. The IF() function returns a blank value in cell C4.

Related Videos

COUNTBLANK


See Also

References