XcelFormulas
  • Excel Formulas
  • Formula by Task
  • Most Used Formulas

Archives

  • October 2026
  • September 2026

Categories

  • Excel Formulas
  • Excel Formulas
  • Formula by Task
  • Most Used Formulas
0 Likes
0 Followers
0 Followers
XcelFormulas
XcelFormulas
  • Excel Formulas
  • Formula by Task
  • Most Used Formulas
COUNT function Excel
  • Excel Formulas

COUNT function Excel

  • October 24, 2026
  • Hawk
Total
0
Shares
0
0
0
Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0
Share 0
Share 0
What To Read Hide
  1. What is the COUNT Function?
    1. Formula
    2. How to use the COUNT Function in Excel?
    3. Things to remember
    4. How to Use the COUNT Function in Excel

What is the COUNT Function?

Mastering essential spreadsheet functions is a core requirement for accurate data analysis and financial modeling. Among the foundational statistical tools available, the COUNT function is indispensable for tracking and evaluating numerical data across large datasets. Whether you are auditing financial statements or organizing project metrics, understanding how this function operates ensures cleaner and more efficient workflows.

As a financial analyst, it is useful in analyzing data if we wish to keep a count of cells in a given range.

Formula

=COUNT(value1, value2….)

Where:

Value1 (required argument) – The first item or cell reference or range for which we wish to count numbers.

Value2… (optional argument) – We can add up to 255 additional items, cell references, or ranges within which we wish to count numbers.

Remember this function will count only numbers and ignore everything else.

How to use the COUNT Function in Excel?

To understand the uses of this function, let us consider a few examples:

Example 1

Let’s see the results that we get using the data below:

COUNT Function

As seen above, the function ignored text or formula errors and counted numbers only.

The results we got in Excel are shown below:

COUNT Function - Example 1

A few observations 

  1. Logical values and errors are not counted by this function
  2. As Excel stores dates as a serial number, the function returned 1 count for date.

This function can be used for an array. If we use the formula =COUNT(B5:B10), we will get the result 4 as shown below:

COUNT Function - Example 1a

Example 2

Let’s assume we imported data and wish to see the number of cells with numbers in them. The data given are shown below:

COUNT Function - Example 2

To count the cells with numeric data, we use the formula COUNT(B4:B16).

COUNT Function - Example 2a

We get 3 as the result, as shown below:

COUNT Function - Example 2b

The COUNT function is fully programmed. It counts the number of cells in a range that contain numbers and returns the result as shown above.

Suppose we use the formula COUNT(B5:B17,345). We will get the result below:

COUNT Function - Example 2c

You may be wondering because B10 contains 345 in the given range. So why did the function return 4?

The reason is that in the COUNT function, all values in the formula are put side by side and then all numbers get counted. Therefore, the number “345” has nothing to do with the range. As a result, the formula will add the numbers of the two values in the formula.

Example 3 – Using COUNT function with the AVERAGE function

Suppose the prices of a certain commodity are given as below:

COUNT Function - Example 3

If we wish to find out the average price from January 8 to 12,  we can use the AVERAGE function along with the COUNT and OFFSET functions.

The formula to use will be:

COUNT Function - Example 3a

The OFFSET function helped in creating dynamic rectangular ranges. By giving the starting reference B2, we specified the rows and columns the final range would include.

OFFSET will now return a range originating from the last entry in column B. Now the COUNT function is used for all of column B to get the required row offset. It counts only numeric values, so the headings, if any, are automatically ignored.

There are 12 numerical values in column B, so offset would resolve to OFFSET(B2,12,0,-5). With these values, OFFSET starts at B2, offsets 12 rows to B13, then uses -5 to extend the rectangular range up “backward” five rows to create the range B9:B12.

Finally, OFFSET returns the range B9:B12 to the AVERAGE function, which computes the average of values in that range.

COUNT Function - Example 3b

Things to remember

  1. If we wish to count logical values, then we should use the COUNTA function.
  2. The function belongs to the COUNT function family. There are five variants of COUNT functions: COUNT, COUNTA, COUNTBLANK, COUNTIF, and COUNTIFS.
  3. We need to use the COUNTIF function or COUNTIFS function if we want to count only numbers that meet specific criteria.
  4. If we wish to count based on certain criteria, then we should use COUNTIF.
  5. The COUNT function doesn’t count logical values TRUE or FALSE.

Hawk

How to Use the COUNT Function in Excel

How to Use the COUNT Function in Excel
0 100 0 1
Learn how to use the COUNT function in Excel to count cells containing numbers, understand its syntax, and explore advanced examples.
Learn how to use the COUNT function in Excel to count cells containing numbers, understand its syntax, and explore advanced examples.
Total
0
Shares
Share 0
Tweet 0
Pin it 0
Related Topics
  • Data Analysis
  • Excel COUNT Function
  • Excel Formulas
  • Excel Tips
  • Financial Modeling
  • Spreadsheet Tutorials
Hawk

Previous Article
Calculate mean in Excel
  • Excel Formulas

How to Calculate Mean in Excel

  • October 24, 2026
  • Hawk
View Post
Next Article
COUNTA vs COUNT
  • Excel Formulas

COUNTA vs COUNT (Difference Between Two Excel Functions)

  • October 24, 2026
  • Hawk
View Post
You May Also Like
COUNTA vs COUNT
View Post
  • Excel Formulas

COUNTA vs COUNT (Difference Between Two Excel Functions)

  • Hawk
  • October 24, 2026
Calculate mean in Excel
View Post
  • Excel Formulas

How to Calculate Mean in Excel

  • Hawk
  • October 24, 2026
how to sum a column in Excel
View Post
  • Excel Formulas

How to sum a column in Excel

  • Hawk
  • October 24, 2026
how to create a pivot table in excel​
View Post
  • Excel Formulas

How to create a pivot table in excel​

  • Hawk
  • October 24, 2026
how to move columns in excel​
View Post
  • Excel Formulas

How to Move Columns in Excel: Simple Techniques and Pro Tips

  • Hawk
  • October 24, 2026
View Post
  • Excel Formulas

SUBSTITUTE Function in Excel

  • Hawk
  • October 22, 2026
View Post
  • Excel Formulas

Excel CONCATENATE function

  • Hawk
  • October 22, 2026
View Post
  • Excel Formulas

Step-by-step Guide to VLOOKUP vs HLOOKUP & XLOOKUP for Excel and Google Sheets

  • Hawk
  • October 21, 2026
Recent Posts
  • COUNTA vs COUNT
    COUNTA vs COUNT (Difference Between Two Excel Functions)
    • October 24, 2026
  • Calculate mean in Excel
    How to Calculate Mean in Excel
    • October 24, 2026
  • how to sum a column in Excel
    How to sum a column in Excel
    • October 24, 2026
XcelFormulas
  • Contact Us
  • Privacy Policy
  • Terms and Conditions
  • Cookie Policy
  • Disclaimer
  • Sitemap
Excel Formulas & Functions

Input your search keywords and press Enter.