How to Count Cells with Text in Excel?

Spreadsheet software, such as Microsoft Excel and Google Sheets, is ideal for data manipulation. These applications seem to have an infinite number of options for modifying, organizing, and filtering through data. You may ultimately need to run a data query to count the number of cells that contain text. It is feasible to determine how many cells in a data collection include text if the cells contain a combination of numbers and letters.

In the tutorial below, we’ll teach you how to count cells with text in Excel and Google Sheets. Both programs go through the same procedure since they use many of the same functions and equations.

Regardless of the tool you choose, you may complete the work by following the instructions shown below.

How to Count Cells with Text in Excel?


Here is how to count cells with text in Excel:

  1. Select a cell where you want to display the count
  2. Use the equation =COUNTIF
  3. Select the range of data you want to include in your query
  4. Enter “*” as the criteria to look for any text in the range
  5. Press enter to count the cells with text

Open Microsoft Excel and go to the cell where you want to do the count. Begin by hitting the = symbol and solving the following equation:

=countif(range,criteria)

How to Count Cells with Text in Excel?

In the above example, the range is cells A1 through A8 (A1:A8), and the criteria are “*,” which implies any cell with text. The asterisk is a wildcard symbol that represents “any letters or words.”

The equation properly-recognized five cells containing text, as shown above. The outcome is shown in cell A10.

 

How to Count Cells with Text in Google Sheets?


Here is how to count cells with text in Google Sheets:

  1. Select a cell where you want to display the count
  2. Use the equation =COUNTIF
  3. Select the range of data you want to include in your query
  4. Enter “*” as the criteria to look for any text in the range
  5. Press enter to count the cells with text

Open your data in Google Sheets first. Locate an empty cell where you want to execute the count. Start inputting the equation, which should look like this:

=countif(range,criteria)

How to Count Cells with Text in Google Sheets

In the figure above, we’re looking at column A, which has six items. Cell A7 has the countif equation, which properly finds that there are three cells with text. Because the remaining three cells contain numbers, they are omitted from the count.

spot_img

Subscribe

Related articles

How to get million views on youtube?

To get a million views on YouTube, you will...

Can I create a custom dashboard in react?

Yes, you can create a custom dashboard in React....

All You Need to Know About Xbox 360 Backward Compatibility

The Xbox 360 works well with some games that...

How to Check if an Array has More than One Element in PHP?

An array is a group of data structures. In...

Learn How to Select All in VIM?

Now is the time to improve your VIM skills...
spot_img
Peter Graham
Peter Grahamhttps://fix-iphones.com
Hi there! I'm Peter, a software engineer and tech enthusiast with over 10 years of experience in the field. I have a passion for sharing my knowledge and helping others understand the latest developments in the tech world. When I'm not coding, you can find me hiking or trying out the latest gadgets.

LEAVE A REPLY

Please enter your comment!
Please enter your name here