The COUNTBLANK function is used to count empty cells in Excel 2013
Syntax:
=COUNTBLANK(range)
Arguments:
The range can be cell references or can be directly entered.
Follow the below steps to count cells that are not empty:
1. Enter the data in the worksheet
2. Select any cell where you want to get the count of blank or empty cells
3. Enter a COUNTBLANK formula and select the required cell range as argument
4. Press the Enter key.
This will give the count of the empty cells in the selected range
Note: The COUNTBLANK function will NOT count cells with formulas (even if they were value pasted later) and spaces
For example, formula like =IF(A1="","", "na") may have inherent "" value to signify empty cell and it may appear to be blank, but COUNTBLANK function will exclude this in its count.
Add-on:
To check if the cell contains any character (which looks empty), you can use =LEN(cell) function. This should ideally give 0 if the cell is empty.
However, the "" (often after value pasting the formula) does not get detected, to see this we need to check mark "Transition navigation keys"
File >>> Options >>> Advanced >>> Lotus Compatibility
Syntax:
=COUNTBLANK(range)
Arguments:
The range can be cell references or can be directly entered.
Follow the below steps to count cells that are not empty:
1. Enter the data in the worksheet
2. Select any cell where you want to get the count of blank or empty cells
3. Enter a COUNTBLANK formula and select the required cell range as argument
4. Press the Enter key.
This will give the count of the empty cells in the selected range
Note: The COUNTBLANK function will NOT count cells with formulas (even if they were value pasted later) and spaces
For example, formula like =IF(A1="","", "na") may have inherent "" value to signify empty cell and it may appear to be blank, but COUNTBLANK function will exclude this in its count.
Add-on:
To check if the cell contains any character (which looks empty), you can use =LEN(cell) function. This should ideally give 0 if the cell is empty.
However, the "" (often after value pasting the formula) does not get detected, to see this we need to check mark "Transition navigation keys"
File >>> Options >>> Advanced >>> Lotus Compatibility
No comments:
Post a Comment