COUNTA Description. The COUNTA function counts the number of cells in a range that are not empty. Syntax.