ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   counta (https://www.excelbanter.com/excel-worksheet-functions/8650-counta.html)

DanC

counta
 
I want to count the cells that have text but are not "". I understant that
counta() will count all non empty cells but "" is not the same as empty. I
have tried =counta(field,"<""" and variations but cannot get the proper
result.

dan

JE McGimpsey

one way:

=SUMPRODUCT(--(LEN(A1:A1000)0))

In article ,
"DanC" wrote:

I want to count the cells that have text but are not "". I understant that
counta() will count all non empty cells but "" is not the same as empty. I
have tried =counta(field,"<""" and variations but cannot get the proper
result.


Tim C

Try:

=COUNTIF(A1:A20,"""")

Tim C

"DanC" wrote in message
...
I want to count the cells that have text but are not "". I understant that
counta() will count all non empty cells but "" is not the same as empty.
I
have tried =counta(field,"<""" and variations but cannot get the proper
result.

dan




RagDyer

Just another one:

=COUNTIF(A:A,"*?")
--


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------


"DanC" wrote in message
...
I want to count the cells that have text but are not "". I understant that
counta() will count all non empty cells but "" is not the same as empty. I
have tried =counta(field,"<""" and variations but cannot get the proper
result.

dan


DanC

You win the prize. Your fomula worked.

thanks,

dan

"RagDyer" wrote:

Just another one:

=COUNTIF(A:A,"*?")
--


Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------


"DanC" wrote in message
...
I want to count the cells that have text but are not "". I understant that
counta() will count all non empty cells but "" is not the same as empty. I
have tried =counta(field,"<""" and variations but cannot get the proper
result.

dan




All times are GMT +1. The time now is 01:04 AM.

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