ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count if (https://www.excelbanter.com/excel-worksheet-functions/11933-count-if.html)

Jim

Count if
 
how do I write a count if formula to could a range of cells that can have any
data. For example if I want to count cell a1:a6 only if the cells have some
kind of data (numbers, letters, words, etc...)? Thanks for the help.

Aladin Akyurek

=COUNTA(A1:A6)

Jim wrote:
how do I write a count if formula to could a range of cells that can have any
data. For example if I want to count cell a1:a6 only if the cells have some
kind of data (numbers, letters, words, etc...)? Thanks for the help.


Jack Sheet

Would =COUNTA(A1:A6) function help?

--
Return email address is not as DEEP as it appears
"Jim" wrote in message
...
how do I write a count if formula to could a range of cells that can have
any
data. For example if I want to count cell a1:a6 only if the cells have
some
kind of data (numbers, letters, words, etc...)? Thanks for the help.




Max

Try in say, B1: =COUNTA(A:A)

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Jim" wrote in message
...
how do I write a count if formula to could a range of cells that can have

any
data. For example if I want to count cell a1:a6 only if the cells have

some
kind of data (numbers, letters, words, etc...)? Thanks for the help.





All times are GMT +1. The time now is 01:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com