+ Reply to Thread
Results 1 to 1 of 1

NETWORKDAYS error

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Basingstoke
    MS-Off Ver
    Excel 365
    Posts
    3

    NETWORKDAYS error

    Hi all

    I am using the formula =NETWORKDAYS(P2,S2) to calculate the time taken to process documents between the two dates P2 & S2. But if one of the cells is blank as we have not yet processed the document, I get huge random (it seems) results. Either positive or negative numbers in the thousands

    How can I change it so that the result is blank or 0 if one of the dates is missing. (Not yet completed)?

    Thanks

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: NETWORKDAYS error

    Try

    =IF(COUNT(P2,S2)=2,NETWORKDAYS(P2,S2),"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help with an IF within NETWORKDAYS
    By nabril15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 10:20 AM
  2. [SOLVED] IF with NETWORKDAYS resulting in #VALUE! error
    By StumpedAgain in forum Excel General
    Replies: 4
    Last Post: 04-12-2012, 11:49 AM
  3. Run time error 13 with Networkdays
    By pjjclark in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2009, 05:34 AM
  4. networkdays
    By peterkiukas in forum Excel General
    Replies: 17
    Last Post: 11-13-2007, 09:13 AM
  5. #Name? Error when using NETWORKDAYS function ......
    By SeanAlexander in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2005, 05:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1