This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /MS Excel

How to Count Cells with Text Values in Microsoft Excel

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to count cells with text values using the COUNTIF formula in Excel.

Quick summary

The COUNTIF function in Microsoft Excel lets you count cells containing text values by using an asterisk wildcard as the criteria. This step-by-step formula approach works in any Excel worksheet and returns an instant count of all text-filled cells in a selected range.


Steps

  1. In your Microsoft Excel worksheet, select the cell where you want the result and type an equals sign (=).
  2. Type COUNTIF and then select it from the autocomplete suggested results.
  3. Enter the cell range containing the text values you wish to count.
  4. Input a comma (,) to separate the range argument and add the criteria condition.
  5. Enter an asterisk (*) enclosed in quotation marks ("*") to specify that you are counting cells with text values.
  6. Add a closing parenthesis and press Enter or Return to run the formula.
  7. The count of cells containing text values from the selected range will be displayed in your chosen cell.

📌 Why this matters

Knowing how to count cells with text values in Microsoft Excel is essential for anyone who needs to audit data quality, validate form responses, or analyze mixed datasets where text and numeric entries coexist. The COUNTIF function with an asterisk wildcard provides a fast, formula-based method to identify how many cells contain text — no manual scanning required. This technique saves time during data cleaning and reporting workflows, making it a foundational Excel skill for analysts, administrators, and business users alike. Mastering this approach helps ensure accurate data categorization and more reliable spreadsheet analysis.
Your product deserves an interactive demo
Start free
Similar Articles
MS Excel

How to Organize Dates by Week in Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make Cells Fit Text Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make a Bar Graph in Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it