Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 87
Default SUMPRUDUCT 3 Pieces of Criteria

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!

--
"Trying to make reports so easy... even a monkey could run ''em!"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMPRUDUCT 3 Pieces of Criteria

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"))


--
Biff
Microsoft Excel MVP


"RayportingMonkey" wrote in
message ...
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!

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding pieces of a value in a table root Excel Discussion (Misc queries) 6 July 21st 06 06:31 PM
Finding pieces of a value in a table root Excel Discussion (Misc queries) 0 July 21st 06 03:56 PM
Finding pieces of a value in a table root Excel Discussion (Misc queries) 0 July 21st 06 03:55 PM
Finding pieces of a value in a table root Excel Discussion (Misc queries) 0 July 21st 06 03:55 PM
how do i get a set of pieces from a given # with standard lengths sseguine Excel Worksheet Functions 1 December 18th 05 01:34 PM


All times are GMT +1. The time now is 08:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"