networkdays formula

N

Norman Harker

Hi Brian!

One way:

=NETWORKDAYS(C2,B2)>=7

Or if you want a return other than TRUE or FALSE, use the above as the
condition in an IF function.

NETWORKDAYS is an Analysis ToolPak function and Analysis ToolPak must
be installed and selected as an Addin.

You can use an additional argument that is a range of cells that
contains a list of holidays.
 
B

brianc0428

Thanks..

This is the formula i created but it is not working.
=IF(NETWORKDAYS($C2,$B2,Holidays!$A$1:$A$7)*C2>=B2-7,"Yes","No"
 
N

Norman Harker

Hi Brian!

Try:
=IF(NETWORKDAYS($C2,$B2,Holidays!$A$1:$A$7)*(C2>=B2-7),"Yes","No")

To coerce the Boolean return of C2>=B2-7 to 0, you need the
parentheses.
 
Top