×

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

Array Formula in Excel

How to use Array Formula in Excel? By default, Excel consists of various formulas for calculating the data. Among various formulas, the Array formula is a powerful one that is used...

8 minutes read.

Excel WORKDAY.INTL() Function

Excel WORKDAY.INTL() Function The WORKDAY.INTL() function in excel returns a date before or after a specified number of workdays with custom weekend parameter. Syntax WORKDAY.INTL (START_DAY, DAYS,[WEEKEND],[HOLIDAYS]) Parameter START_DAY (required)- This parameter represents the initial date...

2 minutes read.

Excel Ribbon Toolbar

Excel Ribbon/Toolbar How does a toolbar look like? The top section of an excel file is called a Ribbon or a toolbar. It has various commands which can be useful for us in our daily work....

6 minutes read.

Go-To Special function in Excel

Go-to Special The Go-To Special function in Excel allows you to select all cells that meet certain criteria quickly. This command is used to identify specific cells – the ones which...

1 minute read.

Excel Unique Values

The Unique function in Excel filters the list of unique values from the given data like range or array. The data presented is either number, text, date, time etc. This...

3 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.

How to import Microsoft Access data into the Microsoft Excel

Microsoft Access is primarily considered vital and the primary tool for individuals who want to create and manage the respective type of Database efficiently. This tutorial will discuss how to import...

5 minutes read.

Spell Check in Excel

Spell Check in Excel Microsoft Excel facilities the complete features for examining the work with text. It provides the basic properties for the proper functioning of text, including the spell-check property. The...

5 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.

Excel RIGHT() Function

The RIGHT() function in excel returns the rightmost characters from a text value. This function is used for data manipulation. Syntax RIGHT(Text, [num_chars]) Parameter Text (required)- This parameter represents the string from which you want to find...

1 minute read.

Excel ROUNDUP() Function

Excel ROUNDUP() Function The ROUNDUP() function in excel returns a number rounded up to the nearest possible value and away from zero. Syntax ROUNDUP(Number, num_digits) Parameter Number(required)- This parameter represents the number which you want to...

1 minute read.

Excel VLOOKUP() Function

Excel VLOOKUP() Function The VLOOKUP() function in excel is used to lookup the value on the leftmost side of the table and then return the value in the corresponding row basis on the supplied...

2 minutes read.

How to make use of the Excel Autofit in Excel

In Microsoft Excel, Autofit can be used to adjust and then fix the column and the respective row height to till the maximum limit until and unless it has the...

7 minutes read.

Quarter Dates in Excel

Excel is a combination of numeric values and alphabets. The user's project consists of the date depending upon their accounting and financial analysis. Sometimes there is a need to find...

4 minutes read.

Excel HLOOKUP() Function

Excel HLOOKUP() Function The HLOOKUP() function in excel is used to search a value in the topmost row of a table and then return a corresponding value in the same column for the specified...

2 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 COUNTBLANK() Function

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

1 minute read.

Error Bar in Microsoft Excel

Error Bar is considered the essential term used in Microsoft Excel. It is defined as the graphical representation of the respective data used to denote the errors. The Error bars can...

7 minutes 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.

Trendline in Excel

A Trendline is a line imposed on a graph to predict the direction of the data. It connects the series of data together to showcase the data best fit. The...

3 minutes read.