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

Lookup and Reference Examples

  • Multi-criteria lookup and transpose in Excel
  • How to use Excel TRANSPOSE Function
  • How to use Excel COLUMN Function
  • Count rows that contain specific values in Excel
  • Basic INDEX MATCH approximate in Excel

Data Analysis Examples

  • Excel Frequency Function Example
  • Move chart to a separate worksheet in Excel
  • Reverse List in Excel
  • Managing Conditional Formatting Rules in Excel
  • How to Use Solver Tool in Excel

Data Validation Examples

  • Excel Data validation unique values only
  • Excel Data validation specific characters only
  • Excel Data validation allow uppercase only
  • Excel Data validation with conditional list
  • Excel Data validation date in specific year

Count cells over 100 characters in Excel

by

This tutorial shows how to Count cells over 100 characters in Excel using the example below;

Formula

=SUMPRODUCT(N(LEN(range)>100))

Explanation

To count cells that contain more than a certain number of characters you can use a formula based on the SUMPRODUCT, LEN, and N functions. In the example shown, the formula in C2 is:

=SUMPRODUCT(N(LEN(B5:B11)>100))

How this formula works

Working from the inside out, the LEN function runs on the range B5:B11. Because we give LEN multiple values, it returns multiple results in an array like this:

Worked Example:   Count cells equal to one of many things

{127;78;43;112;59;72;154}

Worked Example:   Count dates in given year in Excel

Which is evaluated against the logical expression >100. This results in an array of TRUE FALSE values:

Worked Example:   Highlight duplicate columns in Excel

{TRUE;FALSE;FALSE;TRUE;FALSE;FALSE;TRUE}

The N function then converts these values to ones and zeros:

{1;0;0;1;0;0;1}

Finally, the array is processed by SUMPRODUCT, which returns 3:

=SUMPRODUCT({1;;;1;;;1})

Post navigation

Previous Post:

Count multiple criteria with NOT logic in Excel

Next Post:

Count cells that are blank 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 compare two text strings in Excel
  • Convert text to numbers using VALUE function in Excel
  • How to count specific words in a range in Excel
  • MID, MIDB functions: Description, Usage, Syntax, Examples and Explanation
  • Extract last name from full name — Manipulating NAMES in Excel
  • How to get year from date in Excel
  • Convert date to text in Excel
  • How to get workdays between dates in Excel
  • Generate series of dates by weekends in Excel
  • Add workdays to date custom weekends in Excel
  • COUPNUM function: Description, Usage, Syntax, Examples and Explanation
  • PV function: Description, Usage, Syntax, Examples and Explanation
  • ODDFPRICE function: Description, Usage, Syntax, Examples and Explanation
  • COUPNCD function: Description, Usage, Syntax, Examples and Explanation
  • ODDFYIELD function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles