HomeFree lessonsPremiumAbout
← All free Excel lessons

COUNT in Excel

Count cells containing numbers, not labels. Learn the concept, work through a practical example, and check your answer.

What does COUNT do?

COUNT is useful for checking numeric data completeness. Use COUNTA when you need to count nonempty cells of any type.

Workplace example

A payroll file contains hours worked in D2:D20. Count the numeric entries.

Example solution

=COUNT(D2:D20)

Try the practice question before looking at the solution again. In Excel, formula arguments are separated by commas in many regional settings; your Excel installation may use semicolons.

Practice exercise

A payroll file contains hours worked in D2:D20. Count the numeric entries.

Take it further

Try COUNTA on a column with names.

Common mistake: Check that your ranges cover the correct rows and that text criteria are enclosed in quotation marks when required. When copying formulas, pay attention to relative versus absolute references.

Explore another free exercise →