If blank cel then dont calc Networdays - Formula Not working

mattbarb

New Member
Joined
Mar 22, 2018
Messages
41
Hi,

Any ideas why this simple formula wont work:

Code:
=IF(COUNTBLANK(I10:J10),"",NETWORKDAYS(I10:J10))

?

Many thanks
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
7,719
Office Version
365
Platform
Windows
Because that isnt the syntax for networkdays. It requires at least a start date and an end date.
 

mattbarb

New Member
Joined
Mar 22, 2018
Messages
41
Hi, start/end date are in the cells. Syntax is correct i think, as per the below.

Code:
[COLOR=#2C2C2D][FONT=inherit]=NETWORKDAYS (start_date, end_date, [holidays])[/FONT][/COLOR][COLOR=#2C2C2D][FONT=&quot]



[/FONT][/COLOR]
[COLOR=#2C2C2D][FONT=&quot][/FONT][/COLOR]
 

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,302
NETWORKDAYS requires a start date and end date separated by a comma.
You have a range and there's no comma in NETWORKDAYS in your formula.
 
Last edited:

Forum statistics

Threads
1,077,977
Messages
5,337,509
Members
399,154
Latest member
gavlink

Some videos you may like

This Week's Hot Topics

Top