#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default sumproduct help

Hello,

I have a couple questions today. And let me thank you in advance for your
help €“ this is a great forum.

Question 1:
Below is a chart. What I need help with is matching the agent name (column
A) to the Event Type €śLogon€ť (column B) and record the minimum time (from
column D) this event type was used (logon that is). I also need to have the
max time for €ślogoff€ť, but I assume I will replace the €śLogon€ť and min in the
formula you provide.

Questions 2:
Matching the agents name (from column A) and matching €śACD Incoming€ť (from
column B) I need help with a formula that will count the number of times
Q10556, Q10557, Q10558 and Q10559 appear in the queue (column E).

Again I appreciate your time and help.

A B C D
E
Name Event Type Date Time Queue
Agent LOGON 2/20/2006 11:11:18 Q10556
Agent WRAPUP 2/20/2006 11:11:19
Agent LOGON 2/20/2006 11:11:24 Q10557
Agent WRAPUP 2/20/2006 11:11:25
Agent AVAILABLE 2/20/2006 11:11:29
Agent ACD INCOMING 2/20/2006 11:12:51 Q10556
Agent LOGOFF 2/20/2006 15:28:46 Q10556
Agent WRAPUP 2/20/2006 15:28:47
Agent WRAPUP 2/20/2006 15:28:49
Agent LOGOFF 2/20/2006 15:28:49 Q10557
Agent LOGOFF 2/20/2006 17:27:16 Q10556


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default sumproduct help

For the first part:

If your data spans more than 1 day...

=MIN(IF(A2:A12="Agent",IF(B2:B12="Logon",(C2:C12+D 2:D12))))

Otherwise, the following would suffice...

=MIN(IF(A2:A12="Agent",IF(B2:B12="Logon",D2:D12)))

Note that both formulas need to be confirmed with CONTROL+SHIFT+ENTER,
not just ENTER.

For the second part:

=SUMPRODUCT(--(A2:A12="Agent"),--(B2:B12="ACD
Incoming"),--(E2:E12="Q10556"))

Hope this helps!

In article ,
"JR" wrote:

Hello,

I have a couple questions today. And let me thank you in advance for your
help €“ this is a great forum.

Question 1:
Below is a chart. What I need help with is matching the agent name (column
A) to the Event Type €śLogon€ť (column B) and record the minimum time (from
column D) this event type was used (logon that is). I also need to have the
max time for €ślogoff€ť, but I assume I will replace the €śLogon€ť and min in the
formula you provide.

Questions 2:
Matching the agents name (from column A) and matching €śACD Incoming€ť (from
column B) I need help with a formula that will count the number of times
Q10556, Q10557, Q10558 and Q10559 appear in the queue (column E).

Again I appreciate your time and help.

A B C D
E
Name Event Type Date Time Queue
Agent LOGON 2/20/2006 11:11:18 Q10556
Agent WRAPUP 2/20/2006 11:11:19
Agent LOGON 2/20/2006 11:11:24 Q10557
Agent WRAPUP 2/20/2006 11:11:25
Agent AVAILABLE 2/20/2006 11:11:29
Agent ACD INCOMING 2/20/2006 11:12:51 Q10556
Agent LOGOFF 2/20/2006 15:28:46 Q10556
Agent WRAPUP 2/20/2006 15:28:47
Agent WRAPUP 2/20/2006 15:28:49
Agent LOGOFF 2/20/2006 15:28:49 Q10557
Agent LOGOFF 2/20/2006 17:27:16 Q10556

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default sumproduct help

With regards to the first part, I forgot to mention to format your cells
as 'Time'...

Hope this helps!

In article ,
Domenic wrote:

For the first part:

If your data spans more than 1 day...

=MIN(IF(A2:A12="Agent",IF(B2:B12="Logon",(C2:C12+D 2:D12))))

Otherwise, the following would suffice...

=MIN(IF(A2:A12="Agent",IF(B2:B12="Logon",D2:D12)))

Note that both formulas need to be confirmed with CONTROL+SHIFT+ENTER,
not just ENTER.

For the second part:

=SUMPRODUCT(--(A2:A12="Agent"),--(B2:B12="ACD
Incoming"),--(E2:E12="Q10556"))

Hope this helps!

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 Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 03:32 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"