MS-Excel / Functions and Formula

Excel's Counting and Summing Functions

FunctionDescription
COUNTReturns the number of cells that contain a numeric value
COUNTAReturns the number of nonblank cells
COUNTBLANKReturns the number of blank cells
COUNTIFReturns the number of cells that meet a specified criterion
COUNTIFS*Returns the number of cells that meet multiple criteria
DCOUNTCounts the number of records that meet specified criteria; used with a worksheet database.
DCOUNTACounts the number of nonblank records that meet specified criteria; used with a worksheet database.
DEVSQReturns the sum of squares of deviations of data points from the sample mean; used primarily in statistical formulas
DSUMReturns the sum of a column of values that meet specified criteria; used with a worksheet database.
FREQUENCYCalculates how often values occur within a range of values and returns a vertical array of numbers. Used only in a multicell array formula
SUBTOTALWhen used with a first argument of 2, 3, 102, or 103, returns a count of cells that comprise a subtotal; when used with a first argument of 9 or 109, returns the sum of cells that comprise a subtotal
SUMReturns the sum of its arguments
SUMIFReturns the sum of cells that meet a specified criterion
SUMIFS*Returns the sum of cells that meet multiple criteria
SUMPRODUCTMultiplies corresponding cells in two or more ranges and returns the sum of those products
SUMSQReturns the sum of the squares of its arguments; used primarily in statistical formulas
SUMX2PY2Returns the sum of the sum of squares of corresponding values in two ranges; used primarily in statistical formulas
SUMXMY2Returns the sum of squares of the differences of corresponding values in two ranges; used primarily in statistical formulas
SUMX2MY2Returns the sum of the differences of squares of corresponding values in two ranges; used primarily in statistical formulas

These are new functions, available only in Excel 2007.

In this tutorial:

  1. Excel Counting and Summing Worksheet Cells
  2. Excel's Counting and Summing Functions