#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMPRODUCT QUERY

I am trying to provide some details on a daily changing set of data on sheet
GBP. The data table shows date (col A), customer ref (col D), amount (col H),
hold reason & team responsible.
I currently use the following to calculate the value of records dated
27Nov08 that have a blank customer ref:

=SUMPRODUCT((GBP!A2:A60000=DATE(2008,11,27))*(GBP! H2:H60000)*(GBP!D2:D60000=" "))

I need to provide a count of items for a particular date where no customer
ref exists that one team (Team A) is responsible for. And also the total
value amount for these.
Please help :o)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMPRODUCT QUERY

Untested, but I think something along these lines should do it ok
I assumed v.small ranges (do you really, really need those huge ranges?)
and that "TeamA" is spelled out/found in col B (you didn't mention this)

To get Count based on your multiple criteria:
=SUMPRODUCT((GBP!A2:A60=DATE(2008,11,27))*(TRIM(GB P!D2:D60)="")*(GBP!B2:B60="TeamA"))

To Sum col H Amts based on your multiple criteria:
=SUMPRODUCT((GBP!A2:A60=DATE(2008,11,27))*(TRIM(GB P!D2:D60)="")*(GBP!B2:B60="TeamA"),GBP!H2:H60)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"jebreeg" wrote:
I am trying to provide some details on a daily changing set of data on sheet
GBP. The data table shows date (col A), customer ref (col D), amount (col H),
hold reason & team responsible.
I currently use the following to calculate the value of records dated
27Nov08 that have a blank customer ref:

=SUMPRODUCT((GBP!A2:A60000=DATE(2008,11,27))*(GBP! H2:H60000)*(GBP!D2:D60000=" "))

I need to provide a count of items for a particular date where no customer
ref exists that one team (Team A) is responsible for. And also the total
value amount for these.

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
SUMPRODUCT query John Excel Discussion (Misc queries) 3 March 18th 08 10:57 PM
Sumproduct query shakey1181 Excel Discussion (Misc queries) 7 May 18th 07 02:49 PM
SUMPRODUCT Query penri0_0 Excel Discussion (Misc queries) 7 June 7th 06 12:22 PM
Sumproduct Query shakey1181 Excel Discussion (Misc queries) 6 June 7th 06 11:56 AM
I think its a sumproduct query? Scoosh Excel Discussion (Misc queries) 0 September 8th 05 12:45 AM


All times are GMT +1. The time now is 01:47 PM.

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

About Us

"It's about Microsoft Excel"