ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNTIF (https://www.excelbanter.com/excel-worksheet-functions/114347-countif.html)

alm09

COUNTIF
 
I need to count how many cells in a rather larger range are populated (i.e
not blank). I am using the formula: COUNTIF(range, < "") but get an error.

How would I write this formula?

Biff

COUNTIF
 
=COUNTA(A1:A1000)

That'll count all cells that contain anything including cells with formula
blanks "".

To exclude cells with formula blanks:

=SUMPRODUCT(--(A1:A1000<""))

Biff

"alm09" wrote in message
...
I need to count how many cells in a rather larger range are populated (i.e
not blank). I am using the formula: COUNTIF(range, < "") but get an
error.

How would I write this formula?




Toppers

COUNTIF
 
=COUNTIF(range,"<")

"alm09" wrote:

I need to count how many cells in a rather larger range are populated (i.e
not blank). I am using the formula: COUNTIF(range, < "") but get an error.

How would I write this formula?


steve_k

COUNTIF
 
i am new to XL but i find the formula =COUNTIF(range,ISBLANK(range))
more intuitive and readable.

alm09 wrote:
I need to count how many cells in a rather larger range are populated (i.e
not blank). I am using the formula: COUNTIF(range, < "") but get an error.

How would I write this formula?



All times are GMT +1. The time now is 03:15 AM.

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