PC Review


Reply
Thread Tools Rate Thread

Can I use COUNTIF with OR?

 
 
AA Arens
Guest
Posts: n/a
 
      20th Nov 2006
I use the statement =IF(COUNTIF(Area1!$B$2:$B$7,A4)>=1,"",ROW()). How
is this statement if the condition not only applies for the area in
Area1, but also in Area2 to have the value ""?
So, it is like COUNTIF Area1 OR Area2 True, False

Bart

 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      20th Nov 2006
Hi
One way

=IF(COUNTIF(Area1!$B$2:$B$7,A4)+COUNTIF(Area2!$B$2:$B$7,A4)>=1,"",ROW())

--
Regards

Roger Govier


"AA Arens" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I use the statement =IF(COUNTIF(Area1!$B$2:$B$7,A4)>=1,"",ROW()). How
> is this statement if the condition not only applies for the area in
> Area1, but also in Area2 to have the value ""?
> So, it is like COUNTIF Area1 OR Area2 True, False
>
> Bart
>



 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      20th Nov 2006
=SUMPRODUCT(--(A1:A10=1)+(B1:B10="b"),F1:F10)

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"AA Arens" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I use the statement =IF(COUNTIF(Area1!$B$2:$B$7,A4)>=1,"",ROW()). How
> is this statement if the condition not only applies for the area in
> Area1, but also in Area2 to have the value ""?
> So, it is like COUNTIF Area1 OR Area2 True, False
>
> Bart
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      20th Nov 2006
=IF(OR(COUNTIF(Area1!$B$2:$B$7,A4),COUNTIF(Area2!$B$2:$B$7,A4)),"",ROW())

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"AA Arens" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I use the statement =IF(COUNTIF(Area1!$B$2:$B$7,A4)>=1,"",ROW()). How
> is this statement if the condition not only applies for the area in
> Area1, but also in Area2 to have the value ""?
> So, it is like COUNTIF Area1 OR Area2 True, False
>
> Bart
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF is Off by 1 GooseMA Microsoft Excel Misc 4 8th Dec 2009 05:04 PM
How do I use a countif function according to two other countif fu. =?Utf-8?B?S2lyc3R5?= Microsoft Excel Worksheet Functions 2 20th Feb 2006 11:44 AM
COUNTIF or not to COUNTIF on a range in another sheet =?Utf-8?B?RWxsaWU=?= Microsoft Excel Worksheet Functions 4 15th Sep 2005 10:06 PM
COUNTIF in one colum then COUNTIF in another...??? =?Utf-8?B?Sm9ubmllUA==?= Microsoft Excel Worksheet Functions 3 22nd Feb 2005 02:55 PM
SUM, COUNTIF? Emma Microsoft Excel Worksheet Functions 6 25th Feb 2004 07:27 PM


Features
 

Advertising
 

Newsgroups
 


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