#1   Report Post  
DanC
 
Posts: n/a
Default 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
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

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.

  #3   Report Post  
Tim C
 
Posts: n/a
Default

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



  #4   Report Post  
RagDyer
 
Posts: n/a
Default

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

  #5   Report Post  
DanC
 
Posts: n/a
Default

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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CountA formula with an IF statement Teri Excel Worksheet Functions 1 November 15th 04 10:11 PM
COUNTA Function not working =COUNTA(C3:C69,"NH") MikeinNH Excel Worksheet Functions 2 November 8th 04 01:19 AM


All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"