Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default 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
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
IF(AND) with NETWORKDAYS ShaneDevenshire Excel Worksheet Functions 1 October 22nd 08 12:53 PM
extract date, networkdays and sumproduct K Excel Worksheet Functions 5 August 12th 08 11:23 PM
NETWORKDAYS Connie Martin Excel Worksheet Functions 9 August 12th 08 01:38 AM
NETWORKDAYS Suzanne Excel Worksheet Functions 7 April 2nd 07 09:32 AM
networkdays Liesel1 Excel Worksheet Functions 3 January 17th 05 06:49 PM


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