Excel COUNT Function (2024)

COUNT Function

The COUNT function is a premade function in Excel, which counts cells with numbers in a range.

It is typed =COUNT

Note: The COUNT function only counts cells with numbers, not cells with letters. The COUNTA function is better used if the cells have letters.

How to use the =COUNT function:

  1. Select a cell
  2. Type =COUNT
  3. Double click the COUNT command
  4. Select a range
  5. Hit enter

Let's see some examples!

Apply the =COUNT function to range D2:D21. Counting the cells of Pokemon Total stats, which is numbers only:

COUNT function, step by step:

  1. Select D23
  2. Type =COUNT
  3. Double click COUNT in the menu
  4. Select range D2:D21
  5. Hit enter

Excel COUNT Function (2)

Note: The =COUNT function only counts cells with numbers in a range.

Excel COUNT Function (3)

Excel COUNT Function (4)

That's it! The =COUNT function successfully counted 20 cells with numbers.

A Non-Working Example

Now, let us try an example that will not work.

Apply the =COUNT function to the range A2:A21, which only has cells with letters.

Excel COUNT Function (5)

Excel COUNT Function (6)

It returns the value 0, no cells with numbers found. Range A2:A21 only had cells with letters.


W3schools Pathfinder

Track your progress - it's free!

Excel COUNT Function (2024)
Top Articles
Latest Posts
Article information

Author: Dong Thiel

Last Updated:

Views: 5850

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Dong Thiel

Birthday: 2001-07-14

Address: 2865 Kasha Unions, West Corrinne, AK 05708-1071

Phone: +3512198379449

Job: Design Planner

Hobby: Graffiti, Foreign language learning, Gambling, Metalworking, Rowing, Sculling, Sewing

Introduction: My name is Dong Thiel, I am a brainy, happy, tasty, lively, splendid, talented, cooperative person who loves writing and wants to share my knowledge and understanding with you.