Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Conditional Formatting Data bars Examples in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to create running total in an Excel Table
  • How to create Gauge Chart in Excel
  • How To Remove Duplicates In Excel Column Or Row?

References

  • Two-column Lookup in Excel
  • How to use Excel MATCH Function
  • Extract all partial matches in Excel
  • How to get last row in text data in Excel
  • How to get first row number in range in Excel

Data Validations

  • Excel Data validation only dates between
  • Excel Data validation with conditional list
  • Excel Data validation require unique number
  • Excel Data validation whole percentage only
  • Excel Data validation must contain specific text

Count cells that contain five characters

by

This tutorial shows how to Count cells that contain five characters using the example below;

Formula

=COUNTIF(range,"?????")

Explanation

To count the number of cells that contain a certain number of characters text, you can use the COUNTIF function. In the example above  “?” is a wildcard matching any single character. In the example, the active cell contains this formula:

=COUNTIF(B4:B9,"?????")

How this formula works

COUNTIF counts the number of cells in the range that contain five characters by matching the content of each cell against the pattern “?????”, which is supplied as the criteria for COUNTIF. The “?” symbol is a wildcard in Excel that means “match any single character”, so this pattern will count cells that contain any five characters. The count of cells that match this pattern is returned as a number which, in the example, is the number 2.

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function

Date Time

  • TIMEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Convert text to date in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate Day of the Year in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group times into unequal buckets in Excel
  • Map text to numbers in Excel
  • Map inputs to arbitrary values in Excel
  • Categorize text with keywords in Excel

General

  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • Count cells that contain errors in Excel
  • Subtotal by invoice number in Excel
  • How to Insert Cells, Row and Rows in Excel
  • How to test a range for numbers in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning