Formulas and Functions Help
- Welcome
- Intro to formulas and functions
-
- ACCRINT
- ACCRINTM
- BONDDURATION
- BONDMDURATION
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNUM
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENCYCODE
- CURRENCYCONVERT
- CURRENCYH
- DB
- DDB
- DISC
- EFFECT
- FV
- INTRATE
- IPMT
- IRR
- ISPMT
- MIRR
- NOMINAL
- NPER
- NPV
- PMT
- PPMT
- PRICE
- PRICEDISC
- PRICEMAT
- PV
- RATE
- RECEIVED
- SLN
- STOCK
- STOCKH
- SYD
- VDB
- XIRR
- XNPV
- YIELD
- YIELDDISC
- YIELDMAT
-
- AVEDEV
- AVERAGE
- AVERAGEA
- AVERAGEIF
- AVERAGEIFS
- BETADIST
- BETAINV
- BINOMDIST
- CHIDIST
- CHIINV
- CHITEST
- CONFIDENCE
- CORREL
- COUNT
- COUNTA
- COUNTBLANK
- COUNTIF
- COUNTIFS
- COVAR
- CRITBINOM
- DEVSQ
- EXPONDIST
- FDIST
- FINV
- FORECAST
- FREQUENCY
- GAMMADIST
- GAMMAINV
- GAMMALN
- GEOMEAN
- HARMEAN
- INTERCEPT
- LARGE
- LINEST
- LOGINV
- LOGNORMDIST
- MAX
- MAXA
- MAXIFS
- MEDIAN
- MIN
- MINA
- MINIFS
- MODE
- NEGBINOMDIST
- NORMDIST
- NORMINV
- NORMSDIST
- NORMSINV
- PERCENTILE
- PERCENTRANK
- PERMUT
- POISSON
- PROB
- QUARTILE
- RANK
- SLOPE
- SMALL
- STANDARDIZE
- STDEV
- STDEVA
- STDEVP
- STDEVPA
- TDIST
- TINV
- TTEST
- VAR
- VARA
- VARP
- VARPA
- WEIBULL
- ZTEST
COUNTBLANK
The COUNTBLANK function returns the number of cells in a collection that are empty.
COUNTBLANK(range)
range: A collection consisting of a reference to a single range of cells.
Examples |
---|
The information in the following table is not meaningful, but is useful to illustrate the type of arguments COUNTBLANK includes in its result. Given the following table: |
A | B | C | D | |
---|---|---|---|---|
1 | 100 | 200 | 300 | 400 |
2 | lorem | ipsum | dolor | sit |
3 | 100 | 200 | 300 | sit |
4 | TRUE | TRUE | FALSE | FALSE |
5 | 200 | 400 | ||
6 |
=COUNTBLANK(A1:D1) returns 0 because there are no blank cells in the collection referenced by the range. =COUNTBLANK(A2:D2) returns 0 because there are no blank cells in the collection referenced by the range. =COUNTBLANK(A5:D5) returns 2 because there are two blank cells in the collection referenced by the range. =COUNTBLANK(A6:D6) returns 4 because there are only blank cells in the collection referenced by the range. =COUNTBLANK(A1:D6) returns 6 because there are a total of 6 blank cells in the collection referenced by the range. =COUNTBLANK(A1:D1, A5:D5) returns an error because COUNTBLANK accepts only one collection as an argument. |
Example — Survey results |
---|
To see an example of this and several other statistical functions applied to the results of a survey, see the COUNTIF function. |