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

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • Conditional Formatting Data bars Examples in Excel
  • Excel Bar Chart
  • Get column index in Excel Table
  • Excel Line Chart

References

  • How to get address of last cell in range in Excel
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • How to reference named range different sheet in Excel
  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel INDIRECT Function

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation don’t exceed total
  • Excel Data validation with conditional list
  • Excel Data validation require unique number
  • Excel Data validation must contain specific text

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:   Sum matching columns in Excel

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

Worked Example:   How to test a range for numbers in Excel

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

Worked Example:   How to count keywords in a range of cell

{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;0;0;1;0;0;1})

Post navigation

Previous Post:

44 Practical Excel IF function Examples

Next Post:

Large with criteria 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

  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to determine year is a leap year in Excel
  • HOUR function: Description, Usage, Syntax, Examples and Explanation
  • Get fiscal quarter from date in Excel
  • Get first Monday before any date in Excel
  • Check If Two Dates are same month in Excel

Grouping

  • If cell contains one of many things in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign data to groups in Excel

General

  • How to generate random times at specific intervals in Excel
  • Currency vs Accounting Format in Excel
  • How to generate random number between two numbers in Excel
  • Flash Fill in Excel
  • How to fill cell ranges with random number from fixed set of options in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning