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

Tip: Looking for answers? Try searching our database.

count articles of a column that the result is between an intervall

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gmfp - 20 Nov 2006 12:20 GMT
I need to count the diferent articles of a column where the result its
between an interval (the criteria is defined in two cells).
in my datasheet its possible that the same article has different results.

example:
         Data
____________________
(articles)        (result)
Column A       Column B
aaa                   7
bbb                   7
aaa                  15
aaa                   6
aaa                   8

       criteria
____________________
Column C       Column D
   5                   10

Analysing the result, i have 3 "aaa" and 1 "bbb".
I want to konw a formula that the result result is 2 articles (artilce "aaa"
+ article "bbb").
thanks,
gmfp
Bob Phillips - 20 Nov 2006 12:55 GMT
=SUMPRODUCT(--(A2:A20="aaa"),--($B$2:$B$20>=$C$2),--($B$2:$B$20<=$D$2))

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> I need to count the diferent articles of a column where the result its
> between an interval (the criteria is defined in two cells).
[quoted text clipped - 21 lines]
> thanks,
> gmfp
gmfp - 20 Nov 2006 13:31 GMT
Bob,

i dont want to count the articles that are equal "aaa".
i want to count how many different articles i have.
and i prefer not to identify the article in the formula, because i could
have 40 different articles.
in the example, i have 3 "aaa" and 1 "bbb" that satisfy my criteria. so i
have 2 different articles. this is the result that i want to know.
tks
gmfp

> =SUMPRODUCT(--(A2:A20="aaa"),--($B$2:$B$20>=$C$2),--($B$2:$B$20<=$D$2))
>
[quoted text clipped - 24 lines]
> > thanks,
> > gmfp
Teethless mama - 20 Nov 2006 16:03 GMT
=SUM(IF(A1:A100<>"",1/COUNTIF(A1:A100,A1:A100)))

ctrl+shift+enter (not just enter)

> I need to count the diferent articles of a column where the result its
> between an interval (the criteria is defined in two cells).
[quoted text clipped - 21 lines]
> thanks,
> gmfp
 
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.