Blogger Advance
No Result
View All Result
Tuesday, February 3, 2026
  • Login
  • Home
  • Business
    • Marketing
    • Economy
    • Politics
    • Investing
    • Markets
  • How To
    • Blogger
    • WordPress
  • Tools
  • Software
    • Android OS
    • Windows
    • Mac Os
  • Indo
Blogger Advance
  • Home
  • Business
    • Marketing
    • Economy
    • Politics
    • Investing
    • Markets
  • How To
    • Blogger
    • WordPress
  • Tools
  • Software
    • Android OS
    • Windows
    • Mac Os
  • Indo
No Result
View All Result
Blogger Advance
No Result
View All Result
Home How To

How to Count Cells with Text in Excel

Foxy by Foxy
July 30, 2022
in How To, Windows
Reading Time: 11 mins read
139 1
0
ADVERTISEMENT
Share on FacebookShare on Twitter

RelatedPosts

How To Create a Group in Discord on a Computer of Mobile Device

How To Stream a Nintendo Switch to Twitch

How To Get Absolute Value in Google Sheets

[ad_1]

Excel spreadsheets are a great way to store and analyze data, and they generally have cells with a combination of numbers and text. To understand your data more, you need to differentiate the cells with text. This process is a lot easier than it sounds.

How to Count Cells with Text in Excel

This article explains how to select a cell range and then use the “COUNTIF” function to count the cells containing text. Let’s get started!

How to Count Cells with Text in Excel on a Windows PC

To count the cells that contain text within your Excel spreadsheet using a Windows computer, do the following:

  1. Click on an empty cell in your spreadsheet to insert the formula.
  2. Type or paste the function “=COUNTIF (range, criteria)” without quotes, which counts the number of cells containing text within a specific cell range.
  3. For “range,” enter the cell range you want to check. Type the first and last cells separated by a colon. For example, to count cells A2 to A9, you’d enter the following text string: “A2:A9.”
  4. For “criteria,” type "*" with quotes. This part counts the number of cells that contain text within the specified range. The complete formula should look like the following: “=COUNTIF (A2:A9, “*”).”
  5. Now, press “Enter” to apply the formula. The result will display in the formula’s cell.

How to Count Cells with Text in Excel on a Mac

The steps for counting the cells that have text within your spreadsheet via macOS are the same as with Excel for Windows:

  1. Launch “Excel,” then open the spreadsheet you want to analyze. You can also just “double-click” the file if it has Excel as its default program.
  2. Select an “empty cell” on your spreadsheet to enter the formula.
  3. In the empty cell, type the following: “=COUNTIF (range, criteria).” This formula counts the number of cells in the specified range with text in them.
  4. For “range,” type in the cell range you want. Enter the first and last cells, divided by a colon. For example, to count cells B2 to B10, you’d type in the following: “B2:B10.”
  5. For the “criteria” part, type “*” with quotes. This part counts the number of cells with text in your typed range. For example, your completed formula should look similar to “=COUNTIF (B2:B10, “*”).”
  6. On your keyboard, press “Enter” to apply the formula. The result appears in the selected cell.

How to Count Cells with Text in Excel 365

To count the cells containing text in your spreadsheet using Excel 365, you apply the same “COUNTIF” function used in Excel for Windows and macOS. Here’s how:

  1. Open the “Excel spreadsheet” you wish to examine.
  2. Click on an “empty cell” to type the formula.
  3. In the empty cell, type: “=COUNTIF (range, criteria).” This formula counts the number of cells with text in them from within your specified cell range.
  4. For the “range” part, type the cell range you want. Enter the first and last cells separated by a colon. For example, to count cells C2 to C11, type the following text string: “C2:C1.”
  5. For “criteria,” type or paste “*” with quotes. This part counts the number of cells (in your specified range) that have text. For example, your completed formula should look something like the following: “=COUNTIF (C2:C11, “*”).”
  6. Now press “Enter” to apply the formula you just created. The result will display in the formula’s cell.

How to Count Cells with Text in Excel on the iPhone App

To count the number of cells containing text within your spreadsheet using the Excel app on an iPhone, do the following:

  1. Launch the “iPhone Excel App.”
  2. Tap on “Open” to view your saved spreadsheets, then select the specific “Excel file” to open it.
  3. “Double-tap” on an “empty cell” in the spreadsheet to enter the “COUNTIF” formula, or you can “long-press” an “empty cell” then tap “Edit” from the pop-up menu.
  4. In the empty cell, type in the following: “=COUNTIF (range, criteria).” This formula counts the number of cells containing text inside your cell range.
  5. For the “range” part, type the “cell range” you want to count. Enter the first and last cells separated by a colon. To calculate the number of cells within D2 to D12, type the following: “D2:D12.”
  6. For the “criteria,” type “*” with quotes. This part counts the number of cells with text in the range. The complete formula should look something like the following: “=COUNTIF (D2:D12, “*”).”
  7. Now, tap “Enter” to apply the created formula. The result appears in the formula’s cell.

How to Count Cells with Text in Excel on the Android App

To count the number of cells that have text in your spreadsheet using the Android Excel app, do the following:

  1. Launch the “Android Excel app.”
  2. Open the spreadsheet you want to examine by tapping on “Open” to see your saved spreadsheets, then tap on the desired file to open it automatically.
  3. “Double-tap” on an “empty cell” to enter the “COUNTIF” formula. Alternatively, “long-press” any “empty cell,” then tap “Edit” from the pop-up menu.
  4. Enter the cell range you wish to count for the “range” part of the formula: “=COUNTIF (range, criteria)” without quotes. This formula calculates the number of cells with text inside the cell range.
  5. Enter the cell range you wish to count for the “range” part of the formula. Include the first and last cells separated by a colon. To calculate cells E2 to E12 from one column, enter the following text string: “E2:E12.”
  6. For the “criteria” part of the formula, type “*” with quotes. This part of the text string counts the number of cells with text in the specified range, including more than one row. Your complete formula should look something like this: “=COUNTIF (A2:E12, “*”).”
  7. Now tap “Enter” to apply the formula. The result appears in the formula’s cell.

How to Count Cells in Excel That Have Specific Text

By using the “COUNTIF” function, you can count the number of cells that contain specific text strings, such as “Excel,” “John,” or “John Meyers.” The formula is similar to counting cells with any text in them, but you change the “criteria” part of the formula to search for specific text. In this example, you’ll see the number of times the word “Excel” appears in a particular cell range:

  1. Launch “Excel” on your device and open the designated file, or launch the file directly if set to open Excel by default.
  2. Click on an “empty cell” to type the formula.
  3. In the empty cell, type the following string without quotes: “=COUNTIF (range, criteria).”
  4. Enter the cell range you wish to count for the “range” part of the formula. Enter the first and last cells separated by a colon. To calculate cells A2 to A20, type the following string without quotes: “A2:A20.”
  5. For the “criteria” section of the formula, type "Excel" with quotes. This part of the text string counts the number of cells with “Excel” in the specified range. Your completed text string should look like”=COUNTIF (A2:A20, "Excel").

How to Count Cells with Duplicate Text in Excel

Besides counting cells with text and specific text, you can count the number of cells with duplicate content.

In the following example, we’re looking for duplicate student grades.

  • Column A – lists our students (A2:A10)
  • Column B – lists each student’s grades (A, B, or C)
  • Column D –lists all available grades, including D2 for “As,” D3 for “Bs,” and D4 for “Cs.”
  • Column E – lists the count of each grade.

Count Cells with Duplicate Text Including First Instance

To count the number of cells in your spreadsheet with instances of grade “A,” “B,” or “C,” including the first instance, enter the following formula:

  1. For grade “A,” click cell E2 and type the following text string: “=COUNTIF (B2 : B10, D2)”.
  2. For instances of grade “B,” click cell E3 and type the following text string: “=COUNTIF (B2 : B10, D3)”.
  3. For instances of grade “C,” click cell E4 and type the following: “=COUNTIF (B2:B10, D4).”

You now have the count for duplicate grades, including the first instance listed in column “E.”

How to Count Cells with Color Text in Excel

Excel does not have a specific formula to count cells based on their text color. To get around this, filter the results and then calculate the cells.

  1. Open the spreadsheet you wish to analyze.
  2. Right-click a cell with the text of the color you wish to count.
  3. Select “Filter,” then “Filter by Selected Cell’s Font Color” to filter the cells with the selected text color.
  4. Next, tell Excel to count your data range. If your text fills cells from B2 to B10, enter the following formula: “=SUBTOTAL (B2:B10)”.

Once you hit “Enter” to apply the filter, Excel will only display the cells containing that color and hide the remaining values.

The “SUBTOTAL” function will exclude the values in the hidden rows, therefore, returning the count for the selected text color only.


In closing, the Excel application does a great job of storing your data and facilitating analysis. It handles text as well as numbers. It has over four hundred functions, including “COUNTIF.” This function helps find the total of cells containing specific information like cells with text and the number of occurrences for particular text.

[ad_2]

Source link

Advertisement. Scroll to continue reading.
ADVERTISEMENT
Share64Tweet40Send
Previous Post

How to Increase Your Instagram Engagement Rate in 2022

Next Post

Krissy’s Kids Book Club Promotes Children’s Literacy, with Help from a Lava Monster

Foxy

Foxy

Discover the tactics, strategies, and tools you need to accelerate the growth of your blog. Click to visit

RelatedPosts

How To

How To Create a Group in Discord on a Computer of Mobile Device

August 29, 2022
2k
How To

How To Stream a Nintendo Switch to Twitch

August 28, 2022
2k
How To

How To Get Absolute Value in Google Sheets

August 27, 2022
2k
How To

How to censor explicit content on Spotify

August 27, 2022
2k
How To

How to Cite a Picture in PowerPoint

August 27, 2022
2k
How To

How to change your PS4 name

August 27, 2022
2k
Next Post

Krissy's Kids Book Club Promotes Children's Literacy, with Help from a Lava Monster

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest

How To Fix Sudo: apt-get: Command Not Found

August 9, 2022

Healer’s MIUI 12.5 for MI 8 Lite – PLATINA Mi 8 Lite

June 17, 2022

How to watch the Star Wars films and TV shows in the right order

August 9, 2022

Why Are Gas Prices Going Down?

August 9, 2022

5 Skills You Should Leave Leadership Training With

2

How to Change Your Username on Fortnite

2

20 Effective Ways to Automate and Grow Your Business

2

What is an SBA 7 (a) Loan?

2

Led by base effect & services pickup, Q1 GDP growth seen in double digits

November 5, 2022

Flexible workspaces, hours: PM for more women in labourforce

August 29, 2022

10 Online Business for Sale in August

August 29, 2022

How To Create a Group in Discord on a Computer of Mobile Device

August 29, 2022

Blogroll

AFC SOP JOGJA
JASA WEBSITE BALI
PELUANG BISNIS ONE MORE
PENGACARA DI BALI
AFC SOP SOLO
Lawyers In Bali
Rekomendasi Tempat Oleh - Oleh Khas Bali
ONE MORE INTERNATIONAL

– Advertisment –

ADVERTISEMENT
Blogger Advance

© 2021 RuangService.Com - Desain by Webhostbali.Com.

Navigate Site

  • Home
  • Advertisement
  • Contact Us
  • Privacy & Policy

Follow Us

No Result
View All Result
  • Home
  • Business
    • Marketing
    • Economy
    • Politics
    • Investing
    • Markets
  • How To
    • Blogger
    • WordPress
  • Tools
  • Software
    • Android OS
    • Windows
    • Mac Os
  • Indo

© 2021 RuangService.Com - Desain by Webhostbali.Com.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Go to mobile version