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 / August 2006

Tip: Looking for answers? Try searching our database.

=COUNT(IF(AND(K2:K20>=382,K2:K20<=383),IF(E2:E20="x",1,0)))

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
d_campelo@hotmail.com - 21 Aug 2006 16:53 GMT
k2-k20 is a range of numbers
E2-E20 include X as a name

I'm attempting to count all the instances in which x exist between 382 and
383 in the k colum.
I'm using a count(if(...)) array formula to count all of the information.
The second example of count if in excel tutorial, under "Count how often
multiple text or number values occur by using functions" only matches one
text parameter to one number parameter. I'm trying to have it match one text
parameter to two numbers or a range.

thanks,
Dav - 21 Aug 2006 16:58 GMT
Try

=sumproduct((K2:K20>=382)*(K2:K20<=383)*(E2:E20="x"))

Regards

Da
David Billigmeier - 21 Aug 2006 17:01 GMT
=SUMPRODUCT(--(K2:K20>=382),--(K2:K20<=383),--(E2:E20="x"))

Signature

Regards,
Dave

> k2-k20 is a range of numbers
> E2-E20 include X as a name
[quoted text clipped - 8 lines]
>
> thanks,
 
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.