• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Count number of cells containing a 10 digit number

sjs1968

New Member
I wish to count the total number of cells in a column that contain a 10 digit number. Can someone help please?
 
Sorry - I should have explained better. I want to count how many cells contain a 10 digit number not the sum of these cells.
This formula does NOT sum the cells with 10 digit-long numbers, it counts them. Have you taken a moment to try it out?
 
The formula counts all cells with 10 characters. I would like to fine tune this formula to count the number of cells that contain a number AND is 10 digits long. Any ideas please?
Worked it out
=SUMPRODUCT(—(ISNUMBER(A2:A7)),—(LEN(A2:A7)=10))
 
Back
Top