How to count cells containing text in Google Sheets

To count cells containing text in Google Sheets, we will use 2 functions in Google Sheets : COUNTA and COUNTIF . With these 2 functions, users can count cells containing text in a certain data range, or more simply, in just 1 line. In particular, users can count non-blank cells with a special character they want to find. The following article will guide you to count non-blank cells in Google Sheets.

1. Count cells containing text in Google Sheets

If you are looking for the number of cells containing any text or numbers then use this method 1. This method will count the number of all non-blank cells in the specified data range.

Step 1:

Open the data table in Google Sheets, in the quantity result input box, we will use the COUNTA function and then select the data area to count the cells containing text.

We will enter the function formula =COUNTA(B21:B30) and press Enter to execute.

How to count cells containing text in Google Sheets

Step 2:

You will then see the number of cells containing text as shown below.

How to count cells containing text in Google Sheets

2. Count cells containing text in specific Google Docs

If you want to find the number of cells that contain a specific text string or number, you need to use the CountIf function. With this function, you can specify a text string and then the function counts only the cells that contain that text string.

We will enter the formula =COUNTIF(B21:B30;"Quoc Oai") and press Enter.

How to count cells containing text in Google Sheets

Immediately we will see the result is 1. There is only 1 cell in the data area containing 1 character Quoc Oai.

How to count cells containing text in Google Sheets

3. Count cells containing Google Sheets text with other characters

If you want to count cells that contain specific text with characters or other content, you can still use the Countif function, but the formula will be different. This method will count cells that contain the specified text, regardless of the content.

In the result box, we will enter the formula = COUNTIF (B21:B30;"*Quoc Oai*") and then press Enter.

How to count cells containing text in Google Sheets

Then we will see result 3, there are 3 cells containing the text Quoc Oai along with other content or characters.

How to count cells containing text in Google Sheets

Sign up and earn $1000 a day ⋙

Leave a Comment

Latest Kungfu Hero Code and how to enter code

Latest Kungfu Hero Code and how to enter code

Kungfu Hero Code gives players Kim Nguyen Bao, EXP Pills, Summon Chests, Speed ​​Up Tickets and many other rewards.

How to turn off Research in Excel

How to turn off Research in Excel

The research tool in Excel is activated by Alt + left mouse button. If you do not need to use research in Excel, you can completely disable this tool according to the instructions below.

US successfully transmits 1.6 kW of wireless power over a distance of 1 km using microwaves

US successfully transmits 1.6 kW of wireless power over a distance of 1 km using microwaves

The US Naval Research Laboratory (NRL) has successfully transmitted 1.6 kW of wireless power over a distance of 1 km using microwaves.

Second El Nino detected, impact spreads across Southern Hemisphere

Second El Nino detected, impact spreads across Southern Hemisphere

Scientists have discovered a new climate phenomenon similar to El Nino, which could cause temperature changes across the Southern Hemisphere.

Google uses AI to detect scams right on Chrome

Google uses AI to detect scams right on Chrome

The fact that top browsers are starting to use AI to prevent scams is good news for users.

Gemini can now recognize PDF files appearing on smartphone screens

Gemini can now recognize PDF files appearing on smartphone screens

Files by Google will now automatically enable Gemini analysis when you open a PDF document.

Learn About Windhawk: Free Windows Mod Tool Unlocks Tons of New Features

Learn About Windhawk: Free Windows Mod Tool Unlocks Tons of New Features

Windows 11 has a lot of features, but it also has some quirks. You can easily fix some of those issues—and take advantage of new features and mods—with third-party tools like Windhawk.

Nunu DTCL season 8 build, Nunu TFT season 8 build

Nunu DTCL season 8 build, Nunu TFT season 8 build

Nunu of the new season of Truth Arena has a skill similar to Singed DTCL season 2 and Aurelion Sol of season 3 but the movement range will be wider and the speed will also be faster.

How to Add ChatGPT to Microsoft Edge Sidebar

How to Add ChatGPT to Microsoft Edge Sidebar

To quickly use ChatGPT on Edge browser, you can add it to the right Sidebar of the browser for immediate use when needed.

AI-generated photos created in 2023 are causing a stir

AI-generated photos created in 2023 are causing a stir

In 2023, a series of AIs that create images with just a short description were released, including OpenAI's Dall-E, Stability.AI's Stable Diffusion, and Meta's Midjourney, Imagine with Meta AI.

How to access your Chromebooks clipboard manager

How to access your Chromebooks clipboard manager

The ability to copy and paste is a basic, simple function that any operating system has and must have.

How to take a screenshot on OnePlus phones

How to take a screenshot on OnePlus phones

OnePlus phones have three ways to take screenshots, including taking scrolling screenshots without additional software.

How to Use Start11 to Completely Overhaul Windows 11

How to Use Start11 to Completely Overhaul Windows 11

The tool used to customize Windows 11, Start11, offers a free trial and then charges a one-time fee of $9.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

Top smartphones that emit the most dangerous radiation today

Top smartphones that emit the most dangerous radiation today

Stocklytics has released a list of the top smartphones with the highest radiation levels. Accordingly, Xiaomi and Samsung are the companies with the most smartphones with the highest radiation levels.