# How to count number of entries in Excel

When we talk about counting the number of entries in Excel, we are referring to determining the total count of non-empty cells within a given range or a list of values. It provides essential information about the size, completeness, and quality of the dataset. By understanding the number of entries, you can make informed decisions, draw accurate conclusions, and perform various data-related operations effectively.

Our dataset comprises a bill from a grocery store, which includes the names of products along with their respective prices. Our objective is to determine the total number of products listed on the bill. To achieve this, we need to count the total entries present in the dataset. For this, we have 2 methods explained below.

## Method 1: Count Total Entries

In this method, we are going to count all the entries available in the list without any criteria. This is particularly useful when you have a very big dataset and you want to find out the total entries in the dataset.

## Step 1 – Select the Cell

• Click on the cell where you want to show the result

## Step 2 – Use the COUNTA function

• After selecting the cell, use the COUNTA function:
• =COUNTA(

## Step 3 – Type the Arguments

• Type the Arguments of the COUNTA function as follows:
• =COUNTA(A2:A10)

## Step 4 – Press the Enter key

• Press the ENTER key after typing the arguments of the function to get the result in the selected cell

## Method 2: Count Specific Entries

In this method, we’ll describe a method that will be used to count the number of entries of a specific item. We’ll use the COUNTIF function to perform this task.

## Step 1 – Select the Cell

• Click on the cell where you want to show the result

## Step 2 – Use the COUNTIF function

• After selecting the cell, use the COUNT function:
• =COUNTIF(

## Step 3 – Type the Arguments

• Type the Arguments of the Countif function as follows:
• =COUNTIF(A2:A10,“CHOCOLATES”)

## Step 4 – Press the Enter key

• Press the ENTER key after typing the arguments of the function to get the result in the selected cell.