Sumproduct and Networkdays Together

J

J_L_G

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!
 
T

T. Valko

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

J_L_G

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top