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 / New Users / April 2005

Tip: Looking for answers? Try searching our database.

double conditions for CountIf

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Knud Gentz - 29 Mar 2005 14:39 GMT
Hi there,

I have two lists of names (col A, names can reappear) which are
classissified as either A or B entries in col B.

I need to know a) which names of list 1 appear on list 2 and b) how
often they appear on list 1 and list 2 and c) how many of the entries
on list 1 are A-entries, finally d) how many are B-entries, then e)
the same for list 2.

I already figured a) and b), while d) and e) will be corollary to c)
so I should be able to do them after I (please) can get help on c)
where I am at a complete loss.

CountIf allows me only to count the entries based on one conditionand
I can't find  a function which accepts two conditions.

Thanks
Knud
Bob Phillips - 29 Mar 2005 15:53 GMT
Don't understand your data layout, but you can use

=SUMPRODUCT(--(rng1="val1"),--(rng2="val2"))

Signature

HTH

RP
(remove nothere from the email address if mailing direct)

> Hi there,
>
[quoted text clipped - 15 lines]
> Thanks
> Knud
Knud Gentz - 03 Apr 2005 22:35 GMT
Thanks all, SUMPRODUCT did the trick
Bucky - 29 Mar 2005 23:10 GMT
> CountIf allows me only to count the entries based on one conditionand
> I can't find  a function which accepts two conditions.

I couldn't follow your example, but for the above requirement, you can
create another (hidden) column to handle the logic conditions, then do
countif on the hidden column where TRUE.
 
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.