#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 358
Default CountA question

Hi there,

In cells R18 to R20 different text can be entered by users. I need to count
the number of cells with text (sometimes cells are blank so are not counted)
but also exclude certain possible text options which are listed in cells R941
ot R946. I currently have COUNTA(R18:R20) but am having trouble adding the
'excluding' part of the formulae. Can someone please help! Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default CountA question

=SUMPRODUCT(--(R18:R20<""),--(NOT(ISNUMBER(MATCH(R18:R20,R941:R946,0)))))

--
__________________________________
HTH

Bob

"Andrew" wrote in message
...
Hi there,

In cells R18 to R20 different text can be entered by users. I need to
count
the number of cells with text (sometimes cells are blank so are not
counted)
but also exclude certain possible text options which are listed in cells
R941
ot R946. I currently have COUNTA(R18:R20) but am having trouble adding the
'excluding' part of the formulae. Can someone please help! Thank you.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 358
Default CountA question

Thanks Bob, that is great :)

"Bob Phillips" wrote:

=SUMPRODUCT(--(R18:R20<""),--(NOT(ISNUMBER(MATCH(R18:R20,R941:R946,0)))))

--
__________________________________
HTH

Bob

"Andrew" wrote in message
...
Hi there,

In cells R18 to R20 different text can be entered by users. I need to
count
the number of cells with text (sometimes cells are blank so are not
counted)
but also exclude certain possible text options which are listed in cells
R941
ot R946. I currently have COUNTA(R18:R20) but am having trouble adding the
'excluding' part of the formulae. Can someone please help! Thank you.




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 Conditional Formating question carrera Excel Discussion (Misc queries) 0 November 29th 06 10:15 PM
Counta function question Karen McKenzie Excel Worksheet Functions 10 October 5th 06 12:08 PM
using COUNTA DougMc Excel Discussion (Misc queries) 4 May 30th 05 12:57 AM
counta rabol Excel Discussion (Misc queries) 2 March 6th 05 05:12 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 10:16 PM.

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

About Us

"It's about Microsoft Excel"