#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default COUNTA


Hi!
I am trying to make a formula that count all none empty cells in a
range, but if the cell contain "Asco", it shall not be counted.
This din't work
=COUNTA(Subs!J4:J1004;-(COUNTA(Subs!J4:J1004;"*Asco*")*2))
Any suggestion?

Thanks

Aksel

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default COUNTA

Try:-

=COUNTA(Subs!J4:J1004)-COUNTIF(Subs!J4:J1004,"=*Asco*")

Mike

"Axel" wrote:


Hi!
I am trying to make a formula that count all none empty cells in a
range, but if the cell contain "Asco", it shall not be counted.
This din't work
=COUNTA(Subs!J4:J1004;-(COUNTA(Subs!J4:J1004;"*Asco*")*2))
Any suggestion?

Thanks

Aksel

*** Sent via Developersdex http://www.developersdex.com ***

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default COUNTA


Thank's Mike
That works

*** Sent via Developersdex http://www.developersdex.com ***
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 carlee Excel Discussion (Misc queries) 2 January 14th 10 10:28 AM
Counta Darrell_Sarrasin via OfficeKB.com Excel Discussion (Misc queries) 8 September 25th 08 08:10 PM
Counta [email protected] Excel Worksheet Functions 0 March 18th 08 04:15 PM
COUNTA Karen Excel Worksheet Functions 3 January 10th 06 09:48 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 06:51 AM.

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"