+ Reply to Thread
Results 1 to 5 of 5

Networkdays Ignore if Two Cells are Blank

  1. #1
    Registered User
    Join Date
    08-08-2011
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Networkdays Ignore if Two Cells are Blank

    Hi,

    In column Y, I want a calculation of workdays from a date if Column X is blank (ignore if a date has been entered). So far for this is what I have:

    =IF(X2=0,NETWORKDAYS(T2,U2,Holidays_11_12),"")

    This is working well however I have encountered an issue where in some cases a date hasn't been entered into Column S and Column Y is returning a Value Error.

    Is there a way I can return a result in Column X and ignore when both Column S & Y are blank?

    I want to use the value in X to determine conditional formatting in Column W to flag say green when it hits -10 days and change to red when it is greater than 0.

    Cheers
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Networkdays Ignore if Two Cells are Blank

    Apply a COUNT to T2:U2 - if < 2 do not calculate NETWORKDAYS.

  3. #3
    Registered User
    Join Date
    08-08-2011
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Networkdays Ignore if Two Cells are Blank

    Thanks for the reply...and sorry for sounding obtuse but could you break this down for me? I am not exactly sure how to proceed with applying this.

    Thanks in advance.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Networkdays Ignore if Two Cells are Blank

    Put simply

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-08-2011
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Networkdays Ignore if Two Cells are Blank

    Thanks, I needed simply..I have been staring far too long at this spreadsheet. Works perfectly! Your assistance if very, very much appreciated!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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