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 / October 2007

Tip: Looking for answers? Try searching our database.

Formula Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BoRed79 - 29 Oct 2007 10:40 GMT
I am using a formula to count the number of occurances of an entry - in an
ever expanding list of data.

The formula that I am using is as follows:

=COUNTIF(ActualWeight,">=20")-COUNTIF(ActualWeight,">29")

This counts the number of occurances of a weight between 20 and 29 (where
ActualWeight is a named range for the data).

This formula works absolutely fine and is bringing back a count.

I would now like to extend the formula so that it only counts the above if
it meets another criteria (a school name) - which has a named range of
SchoolName.

Does anyone have any suggestions on what I could try - I have attempted a
couple of things and I cannot seem to get it to work.

Thanks in advance for your help.
Ron Rosenfeld - 29 Oct 2007 11:41 GMT
>I am using a formula to count the number of occurances of an entry - in an
>ever expanding list of data.
[quoted text clipped - 16 lines]
>
>Thanks in advance for your help.

Something like:

=SUMPRODUCT((ActualWeight>=20)*(ActualWeight<=29)*(SchoolName="Alvirne High"))

--ron
Pete_UK - 29 Oct 2007 11:44 GMT
Try this:

=SUMPRODUCT((ActualWeight>=20)*(ActualWeight<=29)*(School=B1))

where School is the named range and B1 contains the name of the
school.

Hope this helps.

Pete

> I am using a formula to count the number of occurances of an entry - in an
> ever expanding list of data.
[quoted text clipped - 16 lines]
>
> Thanks in advance for your help.
 
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.