Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2007

Tip: Looking for answers? Try searching our database.

Counts for Excel 2003 using multiple criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
susanohkwon@gmail.com - 10 Oct 2007 17:34 GMT
I have a two part question.

Part 1 - I need to get the count based on the criteria in two columns,
In the below
example I am looking for a formula that will give me the count for
defects
that are having the status of OPEN and where there is ANY VALUE in the
severity column.

Defect#   Status     Severity
1             Open       Critical
2             Closed
3             Open       Important
4             Closed
5             Open       Minor
6             Open       Critical
7             Closed
8             Open        Important
9             Closed      Critical
10           Open        Minor

Part 2 - I would like to know how to create a count based on multiple
criteria where a value is such and the second value is "not ____". For
example, a count where Status is open and severity is NOT Minor. Is
this possible using Excel 2003?

Thanks in advance!
Teethless mama - 10 Oct 2007 18:17 GMT
Yes, It's possible

=SUMPRODUCT(-(Status="Open"),-(Serverity<>"Minor"))

> I have a two part question.
>
[quoted text clipped - 23 lines]
>
> Thanks in advance!
Peo Sjoblom - 10 Oct 2007 18:31 GMT
I don't see the point in using a single minus, what if the OP wants to
expand it and the ranges are uneven in numbers?

=SUMPRODUCT(-(Status="Open"),-(Severity<>"Minor"),-(Range="x"))

that will give a negative count

Signature

Regards,

Peo Sjoblom

> Yes, It's possible
>
[quoted text clipped - 27 lines]
>>
>> Thanks in advance!
Susan - 10 Oct 2007 18:52 GMT
Thank you very much for your response. What about searching for any value?

ie Count defects that are having the status of OPEN and where there is ANY
VALUE in the severity column.

Thanks again.

> Yes, It's possible
>
[quoted text clipped - 27 lines]
> >
> > Thanks in advance!
Susan - 10 Oct 2007 18:59 GMT
Ultimately, I would like to combine this formula to iinclude three criteria

=SUMPRODUCT(-(Status="Open"),-(Serverity<>"Minor")) and search a third
column where column has any value, ie not null.

> Thank you very much for your response. What about searching for any value?
>
[quoted text clipped - 34 lines]
> > >
> > > Thanks in advance!
Susan - 10 Oct 2007 19:06 GMT
Nevermind. I figured it out. Thanks everyone!

> Ultimately, I would like to combine this formula to iinclude three criteria
>
[quoted text clipped - 39 lines]
> > > >
> > > > Thanks in advance!
Peo Sjoblom - 10 Oct 2007 20:36 GMT
Use the double minuses -- instead of - if you have 3 ranges

Signature

Regards,

Peo Sjoblom

> Nevermind. I figured it out. Thanks everyone!
>
[quoted text clipped - 48 lines]
>> > > >
>> > > > Thanks in advance!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.