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

Tip: Looking for answers? Try searching our database.

Help with correcting writing a formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tuk16664 - 05 Feb 2007 15:43 GMT
Hi

I would like some help with a formula that i am trying to create on my
spread sheet.  The formula needs to countif a specific set of data is reached.
So far i have an array formula working that counts if 2 specific names are
added

I.e. =COUNT(IF((D21:D208="Office name")*(E21:E208="Not Offered"),K21:K208))

What i want to do now is keep the original part with the office name but
then have it count if a value in column I21:I208 is >0 and <=2.

Not sure if this can me done and really would appreciate some help

Many thanks for your time.
Don Guillett - 05 Feb 2007 15:57 GMT
Try it by using the existing as a guide and then post back

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> Hi
>
[quoted text clipped - 13 lines]
>
> Many thanks for your time.
Rodrigo Ferreira - 05 Feb 2007 16:14 GMT
If I understood, you want something like this:
SUMPRODUCT((D21:D208="Office name"),(E21:E208="Not
Offered"),(I21:I208>0)*(I21:I208<=2),K21:K208)

Signature

Rodrigo Ferreira
SP-Brasil

> Hi
>
[quoted text clipped - 13 lines]
>
> Many thanks for your time.
bj - 05 Feb 2007 16:19 GMT
try sumproduct()
=sumproduct(--(D21:D208="Office
name"),--(E21:E208>0),--E21:E208<=2),--(K21:K208<>""))

> Hi
>
[quoted text clipped - 11 lines]
>
> Many thanks for your time.
tuk16664 - 06 Feb 2007 11:35 GMT
Hi

Thank you all so much for your help, i tried with the sum product but that
did not seem to work so i tried using some of your information and my
original formula to try this

=COUNT(IF((D21:D208="North"),(I21:I208>0),(I21:I208<=2)))

However, it still does not seem to increment the count even when all the
arguments are true, probably me doing something very wrong, not very good
with these complicated formulas.

> > Hi
> >
[quoted text clipped - 11 lines]
> >
> > Many thanks for your time.
Don Guillett - 06 Feb 2007 13:13 GMT
This is a NON array entered formula that will count using your criteria
=SUMPRODUCT((D21:D208="North")*(I21:I208>0)*(I21:I208<=2))

Signature

Don Guillett
SalesAid Software
dguillett1@austin.rr.com

> Hi
>
[quoted text clipped - 27 lines]
>> >
>> > Many thanks for your time.
 
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.