Formula to Count

  • Thread starter Thread starter TGalin
  • Start date Start date
T

TGalin

Is there a formula that will count how many times a word that is 4 characters
long appears in column M?
 
It works. I tried it out. Thank you.

Rick Rothstein said:
Here is another way to do what you want using this array-entered formula...

=COUNT(IF(LEN(A1:A100)=4,1))

**Commit formula using Ctrl+Shift+Enter, not just Enter by itself
 
This works also. Lean is always better.

Rick Rothstein said:
We can save two characters by using this array-entered formula instead of
the one I posted originally...

=SUM(IF(LEN(A1:A100)=4,1))

**Commit formula using Ctrl+Shift+Enter, not just Enter by itself
 
Back
Top