• 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.

Needed Formula

let us suppose column A contains
1
2
3
4
9


now what i want is i need the formula that will let me know that column A contains data in 5 cells i need that number in the results
here the result is 5 in this example
 
An alternative approach is to convert the data to a table (Ctrl+T) and count the rows.
Calling the Table 'data' enables the formula
= ROWS( data )
or, equally, following Rodger ,
= COUNTIF( data, "<>" )
If you leave spaces in the first column or place a value in the second column to expand the table, the formulas no longer agree but which is better depends upon your intended use of the number.
 
Back
Top