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

Tip: Looking for answers? Try searching our database.

Countif Multiple Criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jackie - 14 Jun 2007 15:46 GMT
Hi-

The following array formula is working for me:
=(SUMPRODUCT(--(D9:D55>DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,">12/31/2006")-COUNTIF(D9:D55,">5/31/2007")).

However I would like for 5/31/2007 to be a cell reference of K1. I want to
be able to change just K1 each month.  I can not get this to work with a cell
reference.  Column D has dates and Column E is numbers.

Thanks again.
Teethless mama - 14 Jun 2007 16:32 GMT
=SUMPRODUCT(--(D9:D55>DATEVALUE("12/31/2006")),--(D9:D55<=K1),E9:E55)/(COUNTIF(D9:D55,">12/31/2006")-COUNTIF(D9:D55,K1))

> Hi-
>
[quoted text clipped - 6 lines]
>
> Thanks again.
David Biddulph - 14 Jun 2007 16:36 GMT
You didn't say what formula you tried.  Was it
=(SUMPRODUCT(--(D9:D55>DATEVALUE("12/31/2006")),(--(D9:D55<=K1)),E9:E55))/(COUNTIF(D9:D55,">12/31/2006")-COUNTIF(D9:D55,">"&K1))
?
Signature

David Biddulph

> Hi-
>
[quoted text clipped - 7 lines]
>
> Thanks again.
PCLIVE - 14 Jun 2007 16:47 GMT
I accidentally responded direct on this.  So this is a re-response

I'm not sure exactly what this formula is supposed to accomplish, but see if
this helps.

=(SUMPRODUCT(--(D9:D55>DATEVALUE("12/31/2006")),(--(D9:D55<=VALUE(K1))),E9:E55))/(COUNTIF(D9:D55,">12/31/2006")-COUNTIF(D9:D55,">"
& VALUE(K1)))

HTH,
Paul

> Hi-
>
[quoted text clipped - 7 lines]
>
> Thanks again.
 
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.