PC Review


Reply
Thread Tools Rate Thread

How can you use count with an array formula similar to using sum

 
 
=?Utf-8?B?UGhpbEg=?=
Guest
Posts: n/a
 
      27th Jun 2005
I understand how to a mutiple condition sum using an array formula following
the format that is created by the conditional simif wizard. Can count use
multiple conditions in the same way, and if so how ?
 
Reply With Quote
 
 
 
 
Ragdyer
Guest
Posts: n/a
 
      27th Jun 2005
Yes, you can have multiple criteria included within the Countif() function,
using it in conjunction with the Sum() function.

Count the items in Column A, where their color, in Column B, is *either*
Red, or Blue, or White:

=SUM(COUNTIF(B:B,{"Red","White","Blue"}))

This is *not* an array formula!
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"PhilH" <(E-Mail Removed)> wrote in message
news:B3933974-7CCC-4168-BDE6-(E-Mail Removed)...
> I understand how to a mutiple condition sum using an array formula

following
> the format that is created by the conditional simif wizard. Can count use
> multiple conditions in the same way, and if so how ?


 
Reply With Quote
 
=?Utf-8?B?UGhpbEg=?=
Guest
Posts: n/a
 
      27th Jun 2005
Thanks, but what if you have a third column that contains names and you only
want to count items that relate to either "Red" or "Blue" for column B and
"Dave " or "Steve" for column C.

"PhilH" wrote:

> I understand how to a mutiple condition sum using an array formula following
> the format that is created by the conditional simif wizard. Can count use
> multiple conditions in the same way, and if so how ?

 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      27th Jun 2005
One way

=SUMPRODUCT(--((B2:B200="Blue")+(B2:B200="Red")>0),--((C2:C200="Dave")+(C2:C200="Steve")>0))

--
Regards,

Peo Sjoblom

(No private emails please)


"PhilH" <(E-Mail Removed)> wrote in message
news:E25669E5-FDE1-40B9-8AD7-(E-Mail Removed)...
> Thanks, but what if you have a third column that contains names and you
> only
> want to count items that relate to either "Red" or "Blue" for column B and
> "Dave " or "Steve" for column C.
>
> "PhilH" wrote:
>
>> I understand how to a mutiple condition sum using an array formula
>> following
>> the format that is created by the conditional simif wizard. Can count use
>> multiple conditions in the same way, and if so how ?


 
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
Array Formula for numbering similar nos (counting) noname Microsoft Excel Worksheet Functions 1 10th Jan 2011 08:51 AM
count(if(... using array formula: can I use a named range in my ca katy Microsoft Excel Worksheet Functions 1 15th Jan 2008 02:13 AM
Conditional Count (Array Formula?) =?Utf-8?B?RGViYmllIE1hc29u?= Microsoft Excel Worksheet Functions 3 19th Mar 2007 09:45 PM
array formula count results of two tests windsurferLA Microsoft Excel Worksheet Functions 2 26th Jul 2006 12:33 AM
Count If Array Formula =?Utf-8?B?Y2FybA==?= Microsoft Excel Worksheet Functions 2 21st Nov 2005 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 AM.