Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel MMULT Function
  • How to use Excel MATCH Function
  • How to get address of first cell in range in Excel
  • How to use Excel OFFSET function
  • Count rows with at least n matching values

Data Analysis Examples

  • How to Create One and Two Variable Data Tables in Excel
  • How to Use Solver Tool in Excel
  • Chart Axes in Excel
  • Reverse List in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

Data Validation Examples

  • Data validation must not exist in list
  • Excel Data validation must begin with
  • Excel Data validation whole percentage only
  • Excel Data validation only dates between
  • Excel Data validation allow weekday only

Count cells that end with in Excel

by

This tutorial shows how to Count cells that end with in Excel using the example below;

Formula

=COUNTIF(range,"*text")

Explanation

To count the number of cells that end with specific text, you can use the COUNTIF function. In the example above “*” is a wildcard matching any number of characters and cell F4 contains this formula:

=COUNTIF(B4:B11,"*r")

How the formula works

COUNTIF counts the number of cells in the range that end with “r” by matching the content of each cell against the pattern “*r”, which is supplied as the criteria. The “*” symbol (the asterisk) is a wildcard in Excel that means “match any number of characters”. The count of cells that match this pattern is returned as a number.

Worked Example:   Count cells not equal to many things in Excel

Note: you can use a tilde character (~) to search for literal wildcards.

Worked Example:   Count cells equal to either x or y in Excel
Worked Example:   Find duplicate values in two columns in Excel

Post navigation

Previous Post:

Count dates by day of week in Excel

Next Post:

Count cells that do not contain errors 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
  • How to extract name from email address in Excel
  • How to get last word in a cell in Excel
  • UNICODE function: Description, Usage, Syntax, Examples and Explanation
  • FIND, FINDB functions: Description, Usage, Syntax, Examples and Explanation
  • Count Number of Words in Excel
  • Get days, months, and years between dates in Excel
  • YEAR function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate next anniversary date or birthday in Excel
  • How to calculate next scheduled event in Excel
  • Add months to date in Excel
  • Calculate payment periods for loan in Excel
  • AMORLINC function: Description, Usage, Syntax, Examples and Explanation
  • Future value vs. Present value examples in Excel
  • DOLLARDE function: Description, Usage, Syntax, Examples and Explanation
  • MDURATION function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2022 xlsoffice . All Right Reserved. | Teal Smiles