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 / May 2008

Tip: Looking for answers? Try searching our database.

SUMPRUDUCT 3 Pieces of Criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RayportingMonkey - 30 May 2008 20:16 GMT
OK - I admit it... I suck at SUMPRODUCT formulas!

Here is what I have now:

SUMMARY WORKSHEET:
 A4:A9 = SiteName
 B3:AF3 = Date
 B4 = example SUMPRODUCT Formula as follows:

=SUMPRODUCT(--('Raw Data'!$D$1:$D$25000=($A4))*--('Raw
Data'!$H$1:$H$25000=(B$3)))

RAW DATA TAB:
 COL.D = Site Names
 COL.H = Dates
 COL.U = AuditGroups (Values = "Floor Supervisor", "QA" and "Supervisor"
but are subject to change at any time)

My current formula correctly reports the number of records by site / by date.

  - HOWEVER -

I now have to add a third piece of criteria... The data from Column-U in the
Raw Data worksheet.

So I need to lookup by Site (Col.D), by Date (Col.H) and only include
records where the "Audit Group" (Col.U) = "QA".

I have other changes to make as well, but the logic is the same - only the
criteria/sources will change.

Can this even be done with a SUMPRODUCT formula?

Thanks in advance!

Signature

"Trying to make reports so easy... even a monkey could run ''em!"

T. Valko - 30 May 2008 21:05 GMT
Try this:

=SUMPRODUCT(--('Raw Data'!$D$1:$D$25000=$A4),--('Raw
Data'!$H$1:$H$25000=B$3),--('Raw Data'!$U$1:$U$25000="QA"))

Signature

Biff
Microsoft Excel MVP

> OK - I admit it... I suck at SUMPRODUCT formulas!
>
[quoted text clipped - 32 lines]
>
> Thanks in advance!
 
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.