Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct and Networkdays Together
I have an Excel 2003 spreadsheet that looks like this:
Submit Date Close Date Inspection Date November-08 11/14/08 11/14/08 November-08 11/20/08 11/21/08 October-08 10/15/08 10/17/08 October-08 10/20/08 10/31/08 I need to Return the Total number of times an items was CLOSED and INSPECTED within two WORKING DAYS or less. Thus far I'm using this formula, but not getting any results: =SUMPRODUCT(--(NETWORKDAYS('Remedy Data'!$B$2:$B$20,'Remedy Data'!$C$2:$F$20)<=2),--(TEXT('Remedy Data'!$A$2:$A$20,"mmmm")=MONTH)) The MONTH is a value that I change depending on which month I'm searching for. Row A is a date that is formatted to display mmmm-yy. If the formula was working properly, my results would be: PASS OCT 1 NOV 2 Thanks for the help! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct and Networkdays Together
NETWORKDAYS won't work on arrays. You'd have to use an extra column and
calculate the NETWORKDAYS separately. =NETWORKDAYS(B2,C2) =NETWORKDAYS(B3,C3) etc etc Then: =SUMPRODUCT(--('Remedy Data'!$D$2:$D$20<=2),--(TEXT('Remedy Data'!$A$2:$A$20,"mmmm")=MONTH)) -- Biff Microsoft Excel MVP "J_L_G" wrote in message ... I have an Excel 2003 spreadsheet that looks like this: Submit Date Close Date Inspection Date November-08 11/14/08 11/14/08 November-08 11/20/08 11/21/08 October-08 10/15/08 10/17/08 October-08 10/20/08 10/31/08 I need to Return the Total number of times an items was CLOSED and INSPECTED within two WORKING DAYS or less. Thus far I'm using this formula, but not getting any results: =SUMPRODUCT(--(NETWORKDAYS('Remedy Data'!$B$2:$B$20,'Remedy Data'!$C$2:$F$20)<=2),--(TEXT('Remedy Data'!$A$2:$A$20,"mmmm")=MONTH)) The MONTH is a value that I change depending on which month I'm searching for. Row A is a date that is formatted to display mmmm-yy. If the formula was working properly, my results would be: PASS OCT 1 NOV 2 Thanks for the help! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumproduct and Networkdays Together
Thanks for the reply - too bad about that really!
I can work out this soultion easily now that I know I was trying to do something impossible. "T. Valko" wrote: NETWORKDAYS won't work on arrays. You'd have to use an extra column and calculate the NETWORKDAYS separately. =NETWORKDAYS(B2,C2) =NETWORKDAYS(B3,C3) etc etc Then: =SUMPRODUCT(--('Remedy Data'!$D$2:$D$20<=2),--(TEXT('Remedy Data'!$A$2:$A$20,"mmmm")=MONTH)) -- Biff Microsoft Excel MVP "J_L_G" wrote in message ... I have an Excel 2003 spreadsheet that looks like this: Submit Date Close Date Inspection Date November-08 11/14/08 11/14/08 November-08 11/20/08 11/21/08 October-08 10/15/08 10/17/08 October-08 10/20/08 10/31/08 I need to Return the Total number of times an items was CLOSED and INSPECTED within two WORKING DAYS or less. Thus far I'm using this formula, but not getting any results: =SUMPRODUCT(--(NETWORKDAYS('Remedy Data'!$B$2:$B$20,'Remedy Data'!$C$2:$F$20)<=2),--(TEXT('Remedy Data'!$A$2:$A$20,"mmmm")=MONTH)) The MONTH is a value that I change depending on which month I'm searching for. Row A is a date that is formatted to display mmmm-yy. If the formula was working properly, my results would be: PASS OCT 1 NOV 2 Thanks for the help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF(AND) with NETWORKDAYS | Excel Worksheet Functions | |||
extract date, networkdays and sumproduct | Excel Worksheet Functions | |||
NETWORKDAYS | Excel Worksheet Functions | |||
NETWORKDAYS | Excel Worksheet Functions | |||
networkdays | Excel Worksheet Functions |