×

Count Cells with Text in Excel

Excel spreadsheets are widely used in many fields to store and analyze data. Usually, the cells present in excel are a combination of numbers and text. To perform the calculation effectively and to understand the data, the user needs to know which cell contains data and which partition is without data. We can create a formula in Microsoft Excel to count the cells that carry text.

In this tutorial, let’s cover the step-by-step implementation of counting cells with text.

Steps to Count Cells with Text Using Formula

Step 1: Add the required data in the range of cells.

Count Cells with Text

STEP 2: To insert the formula select the cell in the worksheet. And enter the formula function COUNTIF (range, criteria), where the range parameter is used to count the cells within chosen cells.

Count Cells with Text

STEP 3: Type the formula mentioned above in the image. The range includes from A2, which is separated by colon A7 (A2:A7) strings. For criteria, add "*" with quotes. The requirements are used to select the cell range which contains the text.

Finally, the formula will look like =COUNTIF (A2:A7,"*")

STEP 4: Press Enter Key. The result will display in the selected cell as shown below.

Count Cells with Text

How to Count Cell in an Excel with Specific Text?

A similar method is followed to count cells with specific text, and a slight change in the formula is done. Instead of criteria, type the required text in the double quote.

Count Cells with Text

STEP 1: Type the formula as =COUNTIF (A2:A7, “ROSE”). Press Enter

Count Cells with Text

STEP 2: The result will be displayed in the above images.

How to count Blank and Non-blank Cells?

To check the blank and Non-blank cells specific formula is used as follows. COUNTBLANK, COUNT and COUNTA prevent the empty and Non-blank cells. It is one of the statistical functions used to check these functions.

COUNT is a function used to check how many cells contain numeric data in the range of cells.

COUNTBLANK- This function checks the number of blank cells in a cell range.

COUNTA- It counts the number of populated cells in the range.

Example1: Count Blank cells in the selected list.

STEP 1: Enter the data in the spreadsheet as follows.

Count Cells with Text

STEP 2: Select the cell where the result wants to display. Enter the formula as =COUNTBLANK (A2:A10)

Count Cells with Text

STEP 3: Press Enter key. The result is displayed in the required cell, which is blank. Here the number of empty cell present is 2. In the required cell the result is displayed as 2.                                                                                                     

Count Cells with Text

Example 2: How to check the Non-Blank Cell?

One can check the Non-Blank cell utilizing using the formula. Cells which contain text, formula, space and numbers are not counted. The procedure is as follows =COUNTA (A2:A10), where A2:A10 is the range of cells. Select the cell where the result is to be displayed. Press Enter key after typing the formula and the result will be displayed in the specified cell.

Count Cells with Text

The result will be displayed in the box as shown below.

Count Cells with Text

The result is displayed as seven, where there are seven non-blank cells.


Related Topics

What do you understand by Combination Chart in Microsoft Excel?

In Microsoft Excel, an individual has the Combo Chart option available, which can be effectively clubbed into two charts types, which are Column Clusters Chart, Line Chart to get the...

7 minutes read.

Excel SUBSTITUTE() Function

The SUBSTITUTE() function in excel substitutes/replaces the old text with the new text in a string. SUBSTITUTE function is used to clean data. This function is case-sensitive. Syntax SUBSTITUTE(Text, Old_Text, New_Text, [instance_number]) Parameter Text (required)- This...

2 minutes read.

Excel IFERROR() Function

The IFERROR() function in excel returns the specified value if initially supplied the argument or formula returns an error, otherwise returns the result of the formula supplied in the first argument. When...

2 minutes read.

Excel Themes

Microsoft Excel contains various features to enhance the appearance of the worksheet like text color, font size and general outlook of the objects. The users are provided with multiple theme...

3 minutes read.

How to generate random numbers in Excel

In this tutorial, we will discuss the following things in detail that are as follows: Introduction about Random Numbers used in Microsoft Excel. Discuss how to generate the Random Numbers in Microsoft...

6 minutes read.

Calculating Age in Excel

Microsoft Excel provides separate functions for various mathematical operations. Nowadays, Microsoft Excel is widely used by large and various organizations. Using formulas one can calculate the statistical functions quickly and...

2 minutes read.

SumIF Formula in Microsoft Excel

SUMIF Formula in Microsoft Excel is considered the primary and vital formula individuals can use to remove their workload. In this tutorial, we will discuss and learn about the SUMIF Formula...

7 minutes read.

Solver in Excel

What is Solver? Microsoft Excel facilitates an add-in programming tool known as Solver that uses operational research techniques to find the optimal solutions for objective problems. This tool operates with a group of...

5 minutes read.

Excel INDEX () Function

Excel INDEX () Function The INDEX() function in excel returns a value from a list of tables based on the intersection of a row and a column position. This function is used with the...

2 minutes read.

How to use TODAY function in Excel

What is TODAY Function in Excel? Today function is one of the types of Worksheet function (WS) in Excel.Today Function belongs to the Date and Time functions.It is used to calculate...

3 minutes read.

How to apply Data Protection to the Worksheet?

What do we mean by Data Protection? Data Protection in excel involves in protecting your file/data from some other user and also prevents the following accidents – Accidentally deleting or changing the formulas in...

3 minutes read.

How to lock cells in Excel?

How to lock cells in Excel? The locked cells feature used to protect and secure your Excel sheet or workbook from the unauthorized access. If the cells are locked, it can’t be deleted, reformatted,...

5 minutes read.

Excel COUNT() Function

Excel COUNT() Function The COUNT() function counts the number of cells in a range that contain numbers. Syntax COUNT([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents the...

1 minute read.

Application Interface and Key Components

The essential key components of Excel are as follows: Ribbon TabQuick Access ToolbarFormula BarActive CellColumnsRows Name BoxSheet TabsZoom ControlStatus Bar Ribbon Tab: The ribbon includes tabs labeled Home, Insert, Page Layout, Formulas, Data, Review,...

3 minutes read.

Dependent Combo box in Excel VBA

Adding the particular dependent box in the created User form with the help of the Microsoft Excel VBA is considered essential and crucial in Microsoft Excel. Here, in this tutorial, we...

7 minutes read.

Excel INT() Function

Excel INT() Function The INT() function in excel is used to round a number down to the nearest integer. It removes decimal points from any number value & return rounded down number value in...

1 minute read.

Excel LARGE() Function

The LARGE() function in excel returns the k-th largest value in a data set. Syntax LARGE (Array, kth small number from the list) Parameter Array (required)- This parameter represents the list of numbers from which nth...

1 minute read.

What if Analysis Data Table in Excel

What is What-If Analysis? Suppose you have a cell A15 which is formula driven i.e. has a formula and the formula is based on values in different cells (A1, A2, A3, A4), what-if...

4 minutes read.

Blank cells in Excel

Microsoft Excel is spreadsheet software designed by Microsoft in 1987. It is used to perform arithmetic calculations in various fields like statistical, engineering and financial. Many times, we export data...

4 minutes read.

Dependent Drop-down List in Excel

Excel forms are used to fetch data from the end user. When we have to give choices, we often use the drop-down feature of Excel. In this tutorial, we won’t...

7 minutes read.